41 std::string
sha1(std::string
const& input,
bool hex =
true);
50 std::string
sha224(std::string
const& input,
bool hex =
true);
59 std::string
sha256(std::string
const& input,
bool hex =
true);
68 std::string
sha384(std::string
const& input,
bool hex =
true);
77 std::string
sha512(std::string
const& input,
bool hex =
true);
86 std::string
md5(std::string
const& input,
bool hex =
true);
116 bool passwordVerify(std::string
const& password, std::string
const& hash,
Hashing engine for password hashing using Argon2.
Default implementation of a HashTypeTable containing the hashing engines included in nawa.
Abstract base class for hashing engines.
Abstract base class for hashing engines.
std::string sha512(std::string const &input, bool hex=true)
bool passwordVerify(std::string const &password, std::string const &hash, hashing::HashTypeTable const &hashTypeTable=hashing::DefaultHashTypeTable())
std::string passwordHash(std::string const &password, hashing::HashingEngine const &hashingEngine=hashing::BcryptHashingEngine())
std::string sha1(std::string const &input, bool hex=true)
std::string md5(std::string const &input, bool hex=true)
std::string sha224(std::string const &input, bool hex=true)
std::string sha384(std::string const &input, bool hex=true)
std::string sha256(std::string const &input, bool hex=true)