|
QuickCrypt Library |
C++ Interface |
|
CCounterMode
template< class T > class
CCounterMode
Parameters
T
Template parameter specifying the
type of the encryption object. It can be one of the following:
CDES,
CDES_EDE2,
CDES_EDE3,
CDESX,
CRijndael or
CAES,
CBlowfish,
CGOST.
Remarks
CCounterMode class assists you in performing encryption/decryption in
Counter mode
of operation.
To encrypt/decrypt a continuous memory buffer,
perform the following:
-
Instantiate a
CCounterMode object passing to the constructor the initialization vector and the
secret key.
-
Call the
Process
member
function to encrypt/decrypt the memory buffer.
-
Call the
Init member function to
initialize the CCounterMode object with another initialization vector
and/or secret key.
-
Call the
Seek
member function to
| #include <QuickCrypt.h>
using namespace QuickCrypt; |
Class Members
|
Useful Links
|