salted_md5
class salted_md5 extends base
Constants
PREFIX |
|
Properties
protected config | $config | from base | |
protected helper | $helper | from base | |
protected string | $name | from base |
Methods
bool
is_legacy()
Check if hash type is a legacy hash type
string
get_settings_only(string $hash, bool $full = false)
Get only the settings of the specified hash
string
get_prefix()
Returns the hash prefix
bool|string
hash(string $password, $setting = '')
Hash the password
bool
check(string $password, string $hash, array $user_row = array())
Check the password against the supplied hash
string
generate_salt()
Generate salt for hashing method
bool|array
get_hash_settings(string $hash)
Get hash settings
Details
in
base at line 33
__construct(config $config, helper $helper)
Constructor of passwords driver object
in
base at line 42
bool
is_supported()
Check if hash type is supported
at line 59
bool
is_legacy()
Check if hash type is a legacy hash type
in
base at line 58
bool
needs_rehash(string $hash)
Check if password needs to be rehashed
at line 165
string
get_settings_only(string $hash, bool $full = false)
Get only the settings of the specified hash
at line 51
string
get_prefix()
Returns the hash prefix
at line 67
bool|string
hash(string $password, $setting = '')
Hash the password
at line 103
bool
check(string $password, string $hash, array $user_row = array())
Check the password against the supplied hash
at line 118
protected string
generate_salt()
Generate salt for hashing method
at line 140
bool|array
get_hash_settings(string $hash)
Get hash settings