joylink_auth_md5.h 328 B

123456789101112131415
  1. #ifndef MD5_H
  2. #define MD5_H
  3. typedef struct
  4. {
  5. unsigned int count[2];
  6. unsigned int state[4];
  7. unsigned char buffer[64];
  8. }MD5_CTX;
  9. void JDMD5Init(MD5_CTX *context);
  10. void JDMD5Update(MD5_CTX *context,unsigned char *input,unsigned int inputlen);
  11. void JDMD5Final(MD5_CTX *context,unsigned char digest[16]);
  12. #endif