class bcrypt_2y extends bcrypt
Constants
PREFIX |
|
Methods
__construct(config $config, helper $helper)
Constructor of passwords driver object |
from base | |
bool |
is_supported()
Check if hash type is supported |
|
bool |
is_legacy()
Check if hash type is a legacy hash type |
from base |
string |
get_settings_only(string $hash, bool $full = false)
Get only the settings of the specified hash |
from bcrypt |
string |
get_prefix()
Returns the hash prefix |
|
bool|string |
hash(string $password, $salt = '')
Hash the password |
from bcrypt |
bool |
check(string $password, string $hash, array $user_row = array())
Check the password against the supplied hash |
from bcrypt |
Details
in base at line 33
public
__construct(config $config, helper $helper)
Constructor of passwords driver object
at line 31
public bool
is_supported()
Check if hash type is supported
in base at line 50
public bool
is_legacy()
Check if hash type is a legacy hash type
in bcrypt at line 91
public string
get_settings_only(string $hash, bool $full = false)
Get only the settings of the specified hash
at line 23
public string
get_prefix()
Returns the hash prefix
in bcrypt at line 31
public bool|string
hash(string $password, $salt = '')
Hash the password
in bcrypt at line 63
public bool
check(string $password, string $hash, array $user_row = array())
Check the password against the supplied hash