Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kBlowfishCipher_Construct ( kBlowfishCipher blowfish,
const kByte key,
kSize  keyLength,
kCipherPadding  padding,
kCipherMode  cipherMode,
kAlloc  allocator 
)

Constructs a kBlowfishCipher instance.

Parameters
blowfishReceives constructed blowfish cipher object.
keyKey.
keyLengthLength of the key.
paddingPadding mode to be used in encryption.
cipherModeCipher mode used for encryption and decryption.
allocatorMemory allocator (or kNULL for default).
Returns
Operation status.