#include "mimotera++/MD5.hh"
#include <cstdio>
Go to the source code of this file.
Defines | |
#define | S11 7 |
#define | S12 12 |
#define | S13 17 |
#define | S14 22 |
#define | S21 5 |
#define | S22 9 |
#define | S23 14 |
#define | S24 20 |
#define | S31 4 |
#define | S32 11 |
#define | S33 16 |
#define | S34 23 |
#define | S41 6 |
#define | S42 10 |
#define | S43 15 |
#define | S44 21 |
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().