[#AES256CBCEncrypt-Encrypt] = xref:AES256CBCEncrypt.adoc[AES256CBCEncrypt]::Encrypt :relfileprefix: ../ :mrdocs: Encrypt a buffer of arbitrary length in CBC mode. == Synopsis Declared in `<crypto/aes.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int Encrypt( unsigned char const* data, int size, unsigned char* out) const; ---- == Return Value The number of ciphertext bytes written. == Parameters [cols="1,4"] |=== | Name| Description | *data* | The plaintext to encrypt. | *size* | The number of plaintext bytes. | *out* | Output buffer receiving the ciphertext. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#