The Battle for Wesnoth  1.19.5+dev
Namespaces | Functions
auth.hpp File Reference

campaignd authentication API. More...

#include <string>
#include <utility>
Include dependency graph for auth.hpp:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

campaignd authentication API.

Definition in file auth.hpp.