6 #include <znc/zncconfig.h>
11 #define uint8 unsigned char
15 #define uint32 unsigned long int
34 operator string()
const {
return (
string)
m_szMD5; }
36 operator char*()
const {
return (
char*)
m_szMD5; }
#define uint8
Definition: MD5.h:11
#define uint32
Definition: MD5.h:15
char * MakeHash(const char *szText, uint32 nTextLen)
void md5_starts(md5_context *ctx) const
char m_szMD5[33]
Definition: MD5.h:26
void md5_finish(md5_context *ctx, uint8 digest[16]) const
CMD5(const string &sText)
void md5_update(md5_context *ctx, const uint8 *input, uint32 length) const
CMD5(const char *szText, uint32 nTextLen)