24 const std::string &password);
28 const std::string &password,
const std::string &salt);
32 const std::string &password, std::string *verifier,
38 const std::string &password);
42 const std::string &salt);
47 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:82
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:121
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:99
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:65
std::string translate_password(const std::string &name, const std::string &password)
Gets the base64 encoded legacy password db entry.
Definition: auth.cpp:34
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:109