| QuickCrypt Library | API |
|
DES-EDE2 API Overview
DES-EDE2 API assists you in performing DES-EDE2 encryption/decryption.
To encrypt/decrypt one or more continuous memory block(s) of fixed SLC_DES_EDE2_BLOCKSIZE size, perform the following:
Allocate at least SLC_DES_EDE2_CONTEXTSIZE bytes for the context.
Call the SL_DES_EDE2_Init function to initialize the context with the secret key and the cipher direction (SLC_ENCRYPT or SLC_DECRYPT).
Call the SL_DES_EDE2_ProcessBlock function for each memory block to perform encryption/decryption.
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> |
DES-EDE2 API Functions | Useful Links
| Send Feedback to SlavaSoft Inc. | Tell a friend about QuickCrypt Library |