driver_interface
interface driver_interface
Methods
bool
is_supported()
Check if hash type is supported
bool
is_legacy()
Check if hash type is a legacy hash type
string
get_prefix()
Returns the hash prefix
bool|string
hash(string $password)
Hash the password
bool
check(string $password, string $hash, array $user_row = array())
Check the password against the supplied hash
string
get_settings_only(string $hash, bool $full = false)
Get only the settings of the specified hash
Details
at line 23
bool
is_supported()
Check if hash type is supported
at line 30
bool
is_legacy()
Check if hash type is a legacy hash type
at line 37
string
get_prefix()
Returns the hash prefix
at line 47
bool|string
hash(string $password)
Hash the password
at line 58
bool
check(string $password, string $hash, array $user_row = array())
Check the password against the supplied hash
at line 68
string
get_settings_only(string $hash, bool $full = false)
Get only the settings of the specified hash