AI_MD5Random

AI_MD5Random

Purpose:

This AI allows you to generate a stream of pseudo-random numbers which are guaranteed to have a very high degree of randomness. Random numbers are used in deriving public and private keys, initialization vectors, etc. This AI uses MD5 as an underlying hashing function. The details of this algorithm are available from RSA Laboratories' Bulletin #8 or online at http://www.rsasecurity.com/rsalabs/ bulletins/.

Other algorithms that can be used to generate pseudo-random numbers are AI_MD2Random and AI_X962Random_V0.

Type of information this allows you to use:

the MD5-Random algorithm for generating pseudo-random numbers.

Format of info supplied to B_SetAlgorithmInfo:

NULL_PTR.

Format of info returned by B_GetAlgorithmInfo:

NULL_PTR.

Crypto-C procedures to use with algorithm object:

B_RandomInit, B_RandomUpdate, and B_GenerateRandomBytes, and as the randomAlgorithm argument to other procedures.

Algorithm methods to include in application’s algorithm chooser:

AM_MD5_RANDOM.

1 2 2

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 132
Image 132
RSA Security manual AIMD5Random, MD5-Random algorithm for generating pseudo-random numbers