md5_phpbb2
class md5_phpbb2 extends base
Constants
PREFIX |
|
Properties
protected config | $config | from base | |
protected helper | $helper | ||
protected string | $name | from base | |
protected request | $request | ||
protected salted_md5 | $salted_md5 | ||
protected string | $phpbb_root_path | ||
protected string | $php_ext |
Methods
__construct(request $request, salted_md5 $salted_md5, helper $helper, string $phpbb_root_path, string $php_ext)
Constructor of passwords driver object
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 44
__construct(request $request, salted_md5 $salted_md5, helper $helper, string $phpbb_root_path, string $php_ext)
Constructor of passwords driver object
in
base at line 42
bool
is_supported()
Check if hash type is supported
at line 64
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
in
base at line 66
string
get_settings_only(string $hash, bool $full = false)
Get only the settings of the specified hash
at line 56
string
get_prefix()
Returns the hash prefix
at line 72
bool|string
hash(string $password, $user_row = '')
Hash the password
at line 81
bool
check(string $password, string $hash, array $user_row = array())
Check the password against the supplied hash