AES256CBCDecrypt::Decrypt

Decrypt a buffer of arbitrary length in CBC mode.

Synopsis

Declared in <crypto/aes.h>

int
Decrypt(
    unsigned char const* data,
    int size,
    unsigned char* out) const;

Return Value

The number of plaintext bytes written.

Parameters

NameDescription
dataThe ciphertext to decrypt.
sizeThe number of ciphertext bytes.
outOutput buffer receiving the plaintext.