Contents 

QuickCrypt Library
QuickCrypt Library Overview
QuickCrypt Library Installation
Register QuickCrypt Library
DES
CDES ( C++ Interface )
CDES Class Members
DES API ( QuickCrypt API )
DES API Functions
DES-EDE2
CDES_EDE2 ( C++ Interface )
CDES_EDE2 Class Members
DES-EDE2 API ( QuickCrypt API )
DES-EDE2 API Functions
DES-EDE3
CDES_EDE3 ( C++ Interface )
CDES_EDE3 Class Members
DES-EDE3 API ( QuickCrypt API )
DES-EDE3 API Functions
DESX
CDESX ( C++ Interface )
CDESX Class Members
DESX API ( QuickCrypt API )
DESX API Functions
Rijndael (AES)
CRijndael ( C++ Interface )
CRijndael Class Members
Rijndael (AES) API ( QuickCrypt API )
Rijndael (AES) API Functions
Blowfish
CBlowfish ( C++ Interface )
CBlowfish Class Members
Blowfish API ( QuickCrypt API )
Blowfish API Functions
GOST
CGOST ( C++ Interface )
CGOST Class Members
GOST API ( QuickCrypt API )
GOST API Functions
ECB Mode
C++ Interface
QuickCrypt API
CBC Mode
CCBCMode ( C++ Interface )
CCBCMode Class Members
CBC Mode API ( QuickCrypt API )
CBC Mode API Functions
CFB Mode
CCFBMode ( C++ Interface )
CCFBMode Class Members
CFB Mode API ( QuickCrypt API )
CFB Mode API Functions
OFB Mode
COFBMode ( C++ Interface )
COFBMode Class Members
OFB Mode API ( QuickCrypt API )
OFB Mode API Functions
CTR Mode
CCounterMode ( C++ Interface )
CCounterMode Class Members
CTR Mode API ( QuickCrypt API )
CTR Mode API Functions
QuickCrypt Library Run-Time Dynamic Linking
License Agreement
Samples

SlavaSoft QuickCrypt Library Online Help

Prev Page Next Page
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

Samples Rijndael (AES) encryption/decryption of a memory buffer in ECB mode
Rijndael (AES) encryption/decryption of a memory buffer in CBC mode
Rijndael (AES) encryption/decryption of a file in CFB mode
Rijndael (AES) encryption/decryption of a file in OFB mode
Rijndael (AES) encryption/decryption of a file in Counter mode
Rijndael (AES) encryption/decryption of a part of memory buffer in Counter mode

  


 

 

Send Feedback to SlavaSoft Inc. Tell a friend about QuickCrypt Library