#include "server/campaignd/auth.hpp"
#include "hash.hpp"
#include "serialization/base64.hpp"
#include <ctime>
#include <boost/random.hpp>
#include <boost/generator_iterator.hpp>
Go to the source code of this file.
Namespaces | |
campaignd | |
campaignd::auth | |
Functions | |
bool | campaignd::auth::verify_passphrase (const std::string &passphrase, const std::string &salt, const std::string &hash) |
Verifies the specified plain text passphrase against a salted hash. More... | |
std::pair< std::string, std::string > | campaignd::auth::generate_hash (const std::string &passphrase) |
Generates a salted hash from the specified passphrase. More... | |