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