RSB
0.7.0
|
A simple class representing an md5 sum for a given string. More...
#include <MD5.h>
Public Member Functions | |
MD5 (const std::string &s) | |
Creates a new m5s sum for the given string. | |
virtual | ~MD5 () |
std::string | toHexString (const bool &pretty=false) const |
Returns a hex encoded string of the sum. |
Private Attributes | |
boost::shared_ptr< MD5Hasher > | hasher |
boost::shared_array< unsigned char > | hash |
rsb::util::MD5::MD5 | ( | const std::string & | s | ) |
string rsb::util::MD5::toHexString | ( | const bool & | pretty = false | ) | const |
Returns a hex encoded string of the sum.
pretty | if true , the string will be separated in blocks by spaces |
Definition at line 407 of file MD5.cpp.
References hash.
Referenced by rsb::util::operator<<().
|
private |
Definition at line 80 of file MD5.h.
Referenced by toHexString().