Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

Md5 Class Reference

List of all members.

Public Member Functions

char * end (char *buf)
void final (unsigned char digest[16])
void init ()
 Md5 ()
void update (unsigned char const *buf, unsigned long len)
 ~Md5 ()

Private Member Functions

void transform (unsigned int buf[4], unsigned int const in[16])

Private Attributes

unsigned int buf [4]
unsigned int bytes [2]
unsigned int in [16]

Constructor & Destructor Documentation

Md5::Md5  ) 
 

Initialize the object via a constructor.

Md5::~Md5  ) 
 

Destroy the object.


Member Function Documentation

char * Md5::end char *  buf  ) 
 

Write the final hash on te buffer.

void Md5::final unsigned char  digest[16]  ) 
 

Final wrapup - pad to 64-byte boundary with the bit pattern 1 0* (64-bit count of bits processed, MSB-first)

void Md5::init  ) 
 

Start MD5 accumulation. Set bit count to 0 and buffer to mysterious initialization constants.

void Md5::transform unsigned int  buf[4],
unsigned int const   in[16]
[private]
 

The core of the MD5 algorithm, this alters an existing MD5 hash to reflect the addition of 16 longwords of new data. update blocks the data and converts bytes longo longwords for this routine.

void Md5::update unsigned char const *  buf,
unsigned long  len
 

Update context to reflect the concatenation of another buffer full of bytes.


Member Data Documentation

unsigned int Md5::buf[4] [private]
 

unsigned int Md5::bytes[2] [private]
 

unsigned int Md5::in[16] [private]
 


Generated on Thu May 1 12:41:03 2008 for MyServer by  doxygen 1.3.9.1