9 const std::string &password);
13 const std::string &password,
const std::string &salt);
17 const std::string &password, std::string *verifier,
23 const std::string &password);
27 const std::string &salt);
32 std::string *verifier, std::string *salt);
void generate_srp_verifier_and_salt(const std::string &name, const std::string &password, std::string *verifier, std::string *salt)
Creates a verification key and salt with given password.
Definition auth.cpp:67
bool decode_srp_verifier_and_salt(const std::string &encoded, std::string *verifier, std::string *salt)
Reads the DB-formatted SRP verifier and gets the verifier and salt components.
Definition auth.cpp:106
std::string get_encoded_srp_verifier(const std::string &name, const std::string &password)
Gets an SRP verifier, generating a salt, and encodes it as DB-ready string.
Definition auth.cpp:84
std::string generate_srp_verifier(const std::string &name, const std::string &password, const std::string &salt)
Creates a verification key with given salt and password.
Definition auth.cpp:50
std::string translate_password(const std::string &name, const std::string &password)
Gets the base64 encoded legacy password db entry.
Definition auth.cpp:19
std::string encode_srp_verifier(const std::string &verifier, const std::string &salt)
Converts the passed SRP verifier into a DB-ready format.
Definition auth.cpp:94