Interface AeadResult

Result of AEAD encryption: ciphertext (with GCM tag appended) and IV.

The ciphertext blob includes the 16-byte GCM authentication tag as its last 16 bytes. To decrypt, pass ciphertext and iv separately.

interface AeadResult {
    ciphertext: Uint8Array;
    iv: Uint8Array;
}

Properties

Properties

ciphertext: Uint8Array
iv: Uint8Array