|
QuickCrypt Library |
C++ Interface |
|
CRijndael
CRijndael class does not have a base class.
CRijndael class assists you in performing
Rijndael (AES)
encryption/decryption.
Note. Instead of CRijndael you can use
CAES which is an alias for CRijndael.
To encrypt/decrypt one or more
continuous memory block(s) of fixed CRijndael::BLOCKSIZE size,
perform the following:
-
Instantiate a CRijndael object passing to the
constructor the secret key and the cipher direction (SLC_ENCRYPT or
SLC_DECRYPT).
-
Call the
ProcessBlock
member
function for each memory block
to perform encryption/decryption.
-
Call the
Init member function to
initialize the CRijndael object with another secret key and/or to change its cipher direction.
Note. The above algorithm corresponds to
ECB
mode of operation. QuickCrypt Library supports also
CBC,
CFB,
OFB and
Counter modes of operation.
| #include <QuickCrypt.h>
using namespace QuickCrypt; |
Class Members
| Useful Links
|