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