class bcrypt_wcf2 extends base
Constants
PREFIX |
|
Methods
__construct(bcrypt $bcrypt, helper $helper)
Constructor of passwords driver object |
||
bool |
is_supported()
Check if hash type is supported |
from base |
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 |
from base |
string |
get_prefix()
Returns the hash prefix |
|
bool|string |
hash(string $password, $user_row = '')
Hash the password |
|
bool |
check(string $password, string $hash, array $user_row = array())
Check the password against the supplied hash |
Details
at line 32
public
__construct(bcrypt $bcrypt, helper $helper)
Constructor of passwords driver object
in base at line 42
public bool
is_supported()
Check if hash type is supported
at line 49
public bool
is_legacy()
Check if hash type is a legacy hash type
in base at line 58
public string
get_settings_only(string $hash, bool $full = false)
Get only the settings of the specified hash
at line 41
public string
get_prefix()
Returns the hash prefix
at line 57
public bool|string
hash(string $password, $user_row = '')
Hash the password
at line 66
public bool
check(string $password, string $hash, array $user_row = array())
Check the password against the supplied hash