#include <string>
Go to the source code of this file.
Functions | |
std::string | hash (std::string str) |
Calculate a sha1 hash value from a string. The result is a hexadecimal 40 tokens number. | |
std::string | derived (std::string session, int sessnr) |
Find a derived hash from a session string that protects to real session string from observers. |
std::string derived | ( | std::string | session, | |
int | sessnr | |||
) |
Find a derived hash from a session string that protects to real session string from observers.
session | session string in need of protection |
sessnr | number that increases every communication session |
std::string hash | ( | std::string | str | ) |
Generated on Tue Jan 1 17:30:01 2008 for general/misc.h File Reference by
Visit the project page on