ZNC  trunk
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() [1/3]

CMD5::CMD5 ( )

◆ CMD5() [2/3]

CMD5::CMD5 ( const string &  sText)

◆ CMD5() [3/3]

CMD5::CMD5 ( const char *  szText,
uint32  nTextLen 
)

◆ ~CMD5()

CMD5::~CMD5 ( )

Member Function Documentation

◆ MakeHash()

char* CMD5::MakeHash ( const char *  szText,
uint32  nTextLen 
)

◆ md5_finish()

void CMD5::md5_finish ( md5_context ctx,
uint8  digest[16] 
) const
protected

◆ md5_starts()

void CMD5::md5_starts ( md5_context ctx) const
protected

◆ md5_update()

void CMD5::md5_update ( md5_context ctx,
const uint8 input,
uint32  length 
) const
protected

◆ operator char *()

CMD5::operator char * ( ) const
inline

References m_szMD5.

◆ operator string()

CMD5::operator string ( ) const
inline

References m_szMD5.

Member Data Documentation

◆ m_szMD5

char CMD5::m_szMD5[33]
protected

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


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