
AI_MD5WithXOR
AI_MD5WithXOR
Purpose:
This AI is used for encrypting the file keys. This algorithm implements a variant of
Type of information this allows you to use:
the salt and iteration count for the MD5 With “exclusive or” (XOR)
Format of info supplied to B_SetAlgorithmInfo:
pointer to a B_PBE_PARAMS structure:
typedef struct { |
|
|
unsigned char | *salt; | /* pointer to |
unsigned int | iterationCount; | /* iteration count */ |
} B_PBE_PARAMS; |
|
|
|
|
|
Format of info returned by B_GetAlgorithmInfo:
pointer to a B_PBE_PARAMS structure (see above).
Crypto-C procedures to use with algorithm object:
B_EncryptInit, B_EncryptUpdate, B_EncryptFinal, B_DecryptInit,
B_DecryptUpdate, and B_DecryptFinal. You may pass (B_ALGORITHM_OBJ)NULL_PTR for all randomAlgorithm arguments.
1 3 6 | 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 |