| QuickCrypt Library | API |
|
CFB Mode API Overview
CFB Mode API assists you in performing encryption/decryption in CFB mode of operation.
To encrypt/decrypt a continuous memory buffer, perform the following:
Allocate at least CONTEXTSIZE bytes for the context. For example, to perform DES encryption/decryption allocate at least SLC_DES_CONTEXTSIZE bytes for the context.
Call the Init function of the encryption algorithm you need to use, passing to it the secret key and the cipher direction (SLC_ENCRYPT only). For example, to perform DES encryption/decryption call SL_DES_Init function.
Call the SL_CFB_Init function to initialize the context with the initialization vector and with the cipher direction (SLC_ENCRYPT or SLC_DECRYPT).
Call the SL_CFB_Process function to encrypt/decrypt the memory buffer.
|
#include <QuickCrypt.h> |
CFB Mode API Functions | Useful Links
| Send Feedback to SlavaSoft Inc. | Tell a friend about QuickCrypt Library |