Skip to main content

Function: aesDecryptGCM()

aesDecryptGCM(ciphertext, key, iv, additionalData): Buffer<ArrayBuffer>

Defined in: src/Utils/crypto.ts:67

decrypt AES 256 GCM; where the auth tag is suffixed to the ciphertext

Parameters

ciphertext

Uint8Array

key

Uint8Array

iv

Uint8Array

additionalData

Uint8Array

Returns

Buffer<ArrayBuffer>