This is a easy and safe interface to MD5-calculation. More...
std::ostreambuf_iterator< char >
|initializes md5-calculation |
|void||getDigest (unsigned char digest)|
|ends md5-calculation and returns 16 bytes digest |
|const char *||getHexDigest ()|
|ends md5-calculation and digest as 32 bytes hex |
|returns output-iterator to Md5stream |
This is a easy and safe interface to MD5-calculation.
To get a MD5-sum of data, instantiate a md5stream, copy your data into it and read the digest.
After calling getDigest or getHexDigest, the class can be reused for another md5-calculation. The algorithm is automatically reinitialized when the first character is received.
Member Typedef Documentation
|typedef std::ostreambuf_iterator<char> cxxtools::Md5stream::iterator|
Constructor & Destructor Documentation
Member Function Documentation
ends md5-calculation and returns 16 bytes digest
|const char* cxxtools::Md5stream::getHexDigest||(||)|
ends md5-calculation and digest as 32 bytes hex
The documentation for this class was generated from the following file: