#include <string>
#include <iostream>
Go to the source code of this file.
Classes | |
class | MD5 |
Functions | |
std::ostream & | operator<< (std::ostream &os, const MD5 &md5) |
std::string | md5 (const std::string str) |
std::string md5 | ( | const std::string | str | ) |
Function for calculation and printing
This function can be used to calculate the MD5 fingerprint of a string and immediately get the hexdigit as return value.
Provided for convenience in order to mimik the PHP function.
str | The string to calculate the MD5 |
Definition at line 352 of file MD5.cc.
References MD5::hexdigest(), and md5().
Referenced by md5().
std::ostream& operator<< | ( | std::ostream & | os, | |
const MD5 & | md5 | |||
) |
Definition of operator <<
os | The output stream | |
md5 | The md5 to print out |
Definition at line 345 of file MD5.cc.
References MD5::print().