RSA Security 5 manual AIDESCBCPadIV8, AIDESCBCPadBER

Models: 5

1 376
Download 376 pages 51.16 Kb
Page 40
Image 40

AI_DES_CBCPadPEM

Algorithm methods to include in application’s algorithm chooser:

AM_DES_CBC_ENCRYPT for encryption and AM_DES_CBC_DECRYPT for decryption.

Key info types for keyObject in B_EncryptInit or B_DecryptInit:

KI_DES8Strong, KI_DES8, KI_8Byte, KI_Item (if the length of the ITEM is 8) or KI_DES_BSAFE1.

Compatible representation:

AI_DES_CBCPadIV8, AI_DES_CBCPadBER.

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.

3 0

R S A B S A F E C r y p t o - C L i b r a r y R e f e r e n c e M a n u a l

Page 40
Image 40
RSA Security 5 manual AIDESCBCPadIV8, AIDESCBCPadBER