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