Chapter 2 Algorithm Info Types 231
AI_SHA1WithDES_CBCPadBER
Algorithm methods to include in application’s algorithm chooser:
AM_SHA and AM_DES_CBC_ENCRYPT for encryption or AM_DES_CBC_DECRYPT for
decryption.
Key info types for keyObject in B_EncryptInit or B_DecryptInit:
KI_Item that gives the address and length of the password.
Compatible representation:
AI_SHA1WithDES_CBCPad.
Output considerations:
During encryption, this AI pads the output (which DES requires to be a multiple of 8
bytes long). Thus, the total number of output bytes from encryption can be as many as
8 bytes more than the total input.