| QuickCrypt Library | C++ Interface |
|
CGOST
CGOST class does not have a base class.
CGOST class assists you in performing GOST encryption/decryption.
To encrypt/decrypt one or more continuous memory block(s) of fixed CGOST::BLOCKSIZE size, perform the following:
Instantiate a CGOST 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 CGOST 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; |
| Send Feedback to SlavaSoft Inc. | Tell a friend about QuickCrypt Library |