MD5 Class Reference

#include <md5.h>

Collaboration diagram for MD5:

Collaboration graph
[legend]

List of all members.

Classes

struct  md5_state_s

Public Member Functions

 MD5 ()
 ~MD5 ()
void Append (const char *buf, int len)
 Append data to sum.
std::string Get ()
 Get the computed md5.

Static Public Member Functions

static std::string Md5 (const std::string str)
 Returns the MD5 sum of data in arguments.


Detailed Description

Definition at line 5 of file md5.h.


Constructor & Destructor Documentation

MD5::MD5 (  ) 

Definition at line 18 of file md5.cpp.

MD5::~MD5 (  ) 

Definition at line 24 of file md5.cpp.


Member Function Documentation

void MD5::Append ( const char *  buf,
int  len 
)

Append data to sum.

Parameters:
buf buffer to append
len length of the buffer

Definition at line 30 of file md5.cpp.

std::string MD5::Get (  ) 

Get the computed md5.

Parameters:
md5 parameter used to store the md5 sum (have to be 16 bytes long)

Definition at line 35 of file md5.cpp.

std::string MD5::Md5 ( const std::string  str  )  [static]

Returns the MD5 sum of data in arguments.

Parameters:
buf NULL terminated string to hash
Returns:
the md5 sum of buf

Definition at line 51 of file md5.cpp.


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

Generated on Sun Oct 10 19:10:05 2010 for libldsw by  doxygen 1.5.8