Md5Transform Class Reference

#include <md5transform.h>

List of all members.


Public Member Functions

 Md5Transform ()
 MD5 initialization.
 ~Md5Transform ()
 Destructor.
void sumUp (const unsigned char *data, uint32_t length)
 MD5 block update operation.
void sumUp (const char *data, uint32_t length)
Hash< MD5HashgetHash ()

Private Attributes

uint32_t state [4]
uint32_t count [2]
unsigned char buffer [64]

Constructor & Destructor Documentation

Md5Transform::Md5Transform  ) 
 

MD5 initialization.

Begins an MD5 operation, writing a new context.

Definition at line 208 of file md5transform.cpp.

References count, and state.

Md5Transform::~Md5Transform  ) 
 

Destructor.

Definition at line 221 of file md5transform.cpp.


Member Function Documentation

Hash< MD5Hash > Md5Transform::getHash  ) 
 

Definition at line 263 of file md5transform.cpp.

References buffer, count, Encode(), padding, state, and sumUp().

Referenced by MD5HashMaker::getHashSet().

Here is the call graph for this function:

void Md5Transform::sumUp const char *  data,
uint32_t  length
 

Definition at line 290 of file md5transform.cpp.

References sumUp().

Here is the call graph for this function:

void Md5Transform::sumUp const unsigned char *  data,
uint32_t  length
 

MD5 block update operation.

Continues an MD5 message-digest operation, processing another message block, and updating the context.

Definition at line 229 of file md5transform.cpp.

References buffer, count, MD5Transform(), and state.

Referenced by getHash(), sumUp(), and MD5HashMaker::sumUp().

Here is the call graph for this function:


Member Data Documentation

unsigned char Md5Transform::buffer[64] [private]
 

Definition at line 42 of file md5transform.h.

Referenced by getHash(), and sumUp().

uint32_t Md5Transform::count[2] [private]
 

Definition at line 41 of file md5transform.h.

Referenced by getHash(), Md5Transform(), and sumUp().

uint32_t Md5Transform::state[4] [private]
 

Definition at line 40 of file md5transform.h.

Referenced by getHash(), Md5Transform(), and sumUp().


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