md5.h
00001 #ifndef MD5_H
00002 #define MD5_H
00003
00004 typedef unsigned int word32 ;
00005
00006 struct MD5Context {
00007 word32 buf[4];
00008 word32 bits[2];
00009 unsigned char in[64];
00010 };
00011
00012 void MD5Init(struct MD5Context *context);
00013 void MD5Update(struct MD5Context *context, unsigned char const *buf,
00014 unsigned len);
00015 void MD5Final(unsigned char digest[16], struct MD5Context *context);
00016 void MD5Transform(word32 buf[4], word32 const in[16]);
00017
00018
00019
00020
00021 typedef struct MD5Context MD5_CTX;
00022
00023 #endif