Skip to main content

Overview

AES-256-GCM is our primary encryption mechanism for securing sensitive API communications.

Key Features

  • 256-bit encryption key for strong security
  • 96-bit initialization vector (IV) for GCM mode
  • 128-bit authentication tag for integrity verification
  • Base64URL encoding for safe transmission

Key Exchange Process

  1. 256-bit AES key and 96-bit IV are generated by us
  2. Keys are securely shared with the client
  3. Both the parties use the same key-IV pair for encryption/decryption

Implementation Examples

Encryption (Client-side)

Decryption (Client-side)

Security Best Practices

Key Management

  • Keys are generated using cryptographically secure random number generators
  • Regular key rotation is recommended
  • Keys should be stored securely and never logged or transmitted in plain text
  • Client can place a request with us to generate new keys

Implementation Guidelines

  • Always validate the authentication tag during decryption
  • Use proper error handling to avoid information leakage
  • Implement secure key storage mechanisms