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