include/mimotera++/MD5.hh File Reference

#include <string>
#include <iostream>

Include dependency graph for MD5.hh:

This graph shows which files directly or indirectly include this file:

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)


Function Documentation

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.

Parameters:
str The string to calculate the MD5
Returns:
The hexdigit of the str

Definition at line 352 of file MD5.cc.

References MD5::hexdigest(), and md5().

Referenced by md5().

Here is the call graph for this function:

std::ostream& operator<< ( std::ostream &  os,
const MD5 md5 
)

Definition of operator <<

Parameters:
os The output stream
md5 The md5 to print out
Returns:
The output stream

Definition at line 345 of file MD5.cc.

References MD5::print().

Here is the call graph for this function:


Generated on Fri Sep 18 19:15:17 2009 for Mimotera++ by  doxygen 1.5.7.1