ZNC  trunk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CMD5 Class Reference

#include <MD5.h>

Public Member Functions

 CMD5 ()
 CMD5 (const string &sText)
 CMD5 (const char *szText, uint32 nTextLen)
 ~CMD5 ()
 operator string () const
 operator char * () const
char * MakeHash (const char *szText, uint32 nTextLen)

Protected Member Functions

void md5_starts (md5_context *ctx) const
void md5_update (md5_context *ctx, const uint8 *input, uint32 length) const
void md5_finish (md5_context *ctx, uint8 digest[16]) const

Protected Attributes

char m_szMD5 [33]

Constructor & Destructor Documentation

CMD5::CMD5 ( )
CMD5::CMD5 ( const string &  sText)
CMD5::CMD5 ( const char *  szText,
uint32  nTextLen 
CMD5::~CMD5 ( )

Member Function Documentation

char* CMD5::MakeHash ( const char *  szText,
uint32  nTextLen 
void CMD5::md5_finish ( md5_context ctx,
uint8  digest[16] 
) const
void CMD5::md5_starts ( md5_context ctx) const
void CMD5::md5_update ( md5_context ctx,
const uint8 input,
uint32  length 
) const
CMD5::operator char * ( ) const

References m_szMD5.

CMD5::operator string ( ) const

References m_szMD5.

Member Data Documentation

char CMD5::m_szMD5[33]

Referenced by operator char *(), and operator string().

The documentation for this class was generated from the following file: