amiudmodz
amiudmodz / aesDecrypt
Function: aesDecrypt()
aesDecrypt(buffer, key): Buffer<ArrayBuffer>
Defined in: src/Utils/crypto.ts:86
decrypt AES 256 CBC; where the IV is prefixed to the buffer
Parameters
buffer
Uint8Array
key
Uint8Array
Returns
Buffer<ArrayBuffer>