|
QuickCrypt Library |
C++ Interface |
|
CDES_EDE2
CDES_EDE2 class does not have a base class.
CDES_EDE2 class assists you in performing
DES-EDE2
encryption/decryption.
To encrypt/decrypt one or more
continuous memory block(s) of fixed CDES_EDE2::BLOCKSIZE size,
perform the following:
-
Instantiate a CDES_EDE2 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 CDES_EDE2 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
|