| QuickCrypt Library | API |
|
Rijndael (AES) API Overview
Rijndael API assists you in performing Rijndael (AES) encryption/decryption.
To encrypt/decrypt one or more continuous memory block(s) of fixed SLC_RIJNDAEL_BLOCKSIZE size, perform the following:
Allocate at least SLC_RIJNDAEL_CONTEXTSIZE bytes for the context.
Call the SL_RIJNDAEL_Init function to initialize the context with the secret key and the cipher direction (SLC_ENCRYPT or SLC_DECRYPT).
Call the SL_RIJNDAEL_ProcessBlock function for each memory block to perform encryption/decryption.
Notes.
The above algorithm corresponds to ECB mode of operation. QuickCrypt Library supports also CBC, CFB, OFB and Counter modes of operation.
Instead of SLC_RIJNDAEL and SL_RIJNDAEL name-prefixes you can use SLC_AES and SL_AES name-prefixes correspondingly for constant and function names. These aliases are defined in QuickCrypt.h with #define directives.
|
#include <QuickCrypt.h> |
Rijndael (AES) API Functions | Useful Links
| Send Feedback to SlavaSoft Inc. | Tell a friend about QuickCrypt Library |