2 MD5 is a message digest algorithm that can be used to condense an arbitrary
3 length message down to a 16 byte hash. The functions all need to be passed
4 a MD5_CTX which is used to hold the MD5 context during multiple MD5_Update()
5 function calls. This library also contains random number routines that are
8 The normal method of use for this library is as follows
16 This library requires the inclusion of 'md5.h'.
18 The functions are as follows:
22 This function needs to be called to initiate a MD5_CTX structure for
29 This updates the message digest context being generated with 'len'
30 bytes from the 'data' pointer. The number of bytes can be any
36 This function is called when a message digest of the data digested
37 with MD5_Update() is wanted. The message digest is put in the 'md'
38 array and is MD5_DIGEST_LENGTH (16) bytes long.
44 This function performs a MD5_Init(), followed by a MD5_Update()
45 followed by a MD5_Final() (using a local MD5_CTX).
46 The resulting digest is put into 'md' if it is not NULL.
47 Regardless of the value of 'md', the message
48 digest is returned from the function. If 'md' was NULL, the message
49 digest returned is being stored in a static structure.