base_native
abstract class base_native extends base
Properties
protected config | $config | from base | |
protected helper | $helper | from base | |
protected string | $name | from base |
Methods
Check if hash type is supported
Check if password needs to be rehashed
Get only the settings of the specified hash
Return the constant name for this driver's algorithm
Return the options set for this driver instance
Check the password against the supplied hash
Return the value for this driver's algorithm
Hash the password
Details
in
base at line 33
__construct(config $config, helper $helper)
Constructor of passwords driver object
at line 63
bool
is_supported()
Check if hash type is supported
in
base at line 50
bool
is_legacy()
Check if hash type is a legacy hash type
at line 71
bool
needs_rehash(string $hash)
Check if password needs to be rehashed
in
base at line 66
string
get_settings_only(string $hash, bool $full = false)
Get only the settings of the specified hash
at line 25
abstract string
get_algo_name()
Return the constant name for this driver's algorithm
at line 32
abstract array
get_options()
Return the options set for this driver instance
at line 37
bool
check(string $password, string $hash, array $user_row = [])
Check the password against the supplied hash
at line 47
int
get_algo_value()
Return the value for this driver's algorithm
at line 55
bool|string
hash(string $password)
Hash the password