Decrypts data using AES-256-CBC mode.
The 32-byte decryption key.
The encrypted data to decrypt.
The 16-byte initialization vector. Defaults to zero IV.
A promise that resolves to the decrypted data.
const decrypted = await aes256cbcDecrypt(key, ciphertext, iv) Copy
const decrypted = await aes256cbcDecrypt(key, ciphertext, iv)
Decrypts data using AES-256-CBC mode.