|
Zen API
|
| kStatus kBlowfishCipher_Construct | ( | kBlowfishCipher * | blowfish, |
| const kByte * | key, | ||
| kSize | keyLength, | ||
| kCipherPadding | padding, | ||
| kCipherMode | cipherMode, | ||
| kAlloc | allocator | ||
| ) |
Constructs a kBlowfishCipher instance.
| blowfish | Receives constructed blowfish cipher object. |
| key | Key. |
| keyLength | Length of the key. |
| padding | Padding mode to be used in encryption. |
| cipherMode | Cipher mode used for encryption and decryption. |
| allocator | Memory allocator (or kNULL for default). |