Class Password
A wrapper class for password hashing functions
If you needs these original functions, please checkout https://github.com/ircmaxell/password_compat instead.
- password_hash
- password_get_info
- password_needs_rehash
- password_verify
- Wei\Base
-
Wei\Password
Namespace: Wei
Author: Anthony Ferrara ircmaxell@php.net
Author: https://github.com/ircmaxell/password_compat/graphs/contributors
Author: Twin Huang twinhuang@qq.com
Link: https://github.com/ircmaxell/password_compat/blob/master/lib/password.php
Located at Password.php
Author: Anthony Ferrara ircmaxell@php.net
Author: https://github.com/ircmaxell/password_compat/graphs/contributors
Author: Twin Huang twinhuang@qq.com
Link: https://github.com/ircmaxell/password_compat/blob/master/lib/password.php
Located at Password.php
public
|
|
public
string|false
|
|
public
array
|
|
public
boolean
|
#
needsRehash( string $hash, integer $algo, array $options = array() )
Determine if the password hash needs to be rehashed according to the options provided |
public
boolean
|
|
public
|
|
public
string
|
__call(),
__get(),
getOption(),
setOption()
|
protected
integer
|
$cost
The cost parameter for bcrypt |
#
10
|
$providers,
$wei
|