| QuickCrypt Library | API |
|
OFB Mode API Overview
OFB Mode API assists you in performing encryption/decryption in OFB mode of operation.
To encrypt/decrypt a 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_OFB_Init function to initialize the context with the initialization vector.
Call the SL_OFB_Process function to encrypt/decrypt the memory buffer.
|
#include <QuickCrypt.h> |
OFB Mode API Functions | Useful Links
| Send Feedback to SlavaSoft Inc. | Tell a friend about QuickCrypt Library |