Encrypt a buffer of arbitrary length in CBC mode.
Declared in <crypto/aes.h>
int
Encrypt(
unsigned char const* data,
int size,
unsigned char* out) const;
The number of ciphertext bytes written.
| Name | Description |
|---|---|
| data | The plaintext to encrypt. |
| size | The number of plaintext bytes. |
| out | Output buffer receiving the ciphertext. |