1 #ifndef md5_H 2 #define md5_H 3 4 typedef unsigned int UINT4; 5 6 /* Data structure for MD5 (Message-Digest) computation */ 7 typedef struct { 8 UINT4 i[2]; /* number of _bits_ handled mod 2^64 */ 9 UINT4 buf[4]; /* scratch buffer */ 10 unsigned char in[64]; /* input buffer */ 11 unsigned char digest[16]; /* actual digest after MD5Final call 12 */ 13 } MD5_CTX; 14 15 void MD5Init(MD5_CTX *); 16 void MD5Update(MD5_CTX *,unsigned char *,unsigned int); 17 void MD5Final(MD5_CTX *); 18 void Transform(UINT4 *,UINT4 *); 19 20 #endif 21