#include <iostream>#include <string>#include "md5.hpp"#include "hash.hpp"
Go to the source code of this file.
Namespaces | |
| namespace | util |
Functions | |
| unsigned char * | util::md5 (const std::string &input) |
| int | util::get_iteration_count (const std::string &hash) |
| std::string | util::get_salt (const std::string &hash) |
| bool | util::is_valid_hash (const std::string &hash) |
| std::string | util::encode_hash (unsigned char *input) |
| std::string | util::create_hash (const std::string &password, const std::string &salt, int iteration_count) |
Variables | |
| const std::string | util::itoa64 = "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" |
| const std::string | util::hash_prefix = "$H$" |
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:05:21 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |