MD5 Class Reference
#include <md5.h>
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
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.
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: