Wt  4.10.4
Public Member Functions | List of all members
Wt::Auth::PasswordHash Class Reference

A password hash. More...

#include <Wt/Auth/PasswordHash.h>

Public Member Functions

 PasswordHash ()
 Default constructor. More...
 PasswordHash (const std::string &function, const std::string &salt, const std::string &value)
bool empty () const
 Returns whether the password is empty.
std::string function () const
 Returns the function identifier.
std::string salt () const
 Returns the salt.
std::string value () const
 Returns the hash value.

Detailed Description

A password hash.

This combines the information for interpreting a hashed password:

See also

Constructor & Destructor Documentation

◆ PasswordHash()

Wt::Auth::PasswordHash::PasswordHash ( )

Default constructor.

Creates an empty password hash, i.e. with empty function, salt and value.