Abstract password hashing class
$_config
protected array
Configurations for this object. Settings passed from authenticator class to the constructor are merged with this property.
Check hash. Generate hash from user provided password string or data array and check against existing hash.
__construct( array $config array() )
Constructor
$config
optional array() check( string|array $password , string $hashedPassword )
Check hash. Generate hash from user provided password string or data array and check against existing hash.
$password
$hashedPassword
config( array $config null )
Get/Set the config
$config
optional null hash( string|array $password )
Generates password hash.
$password
Plain text password to hash or array of data required to generate password hash.
protected array
Configurations for this object. Settings passed from authenticator class to the constructor are merged with this property.
array()
© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/2.9/class-AbstractPasswordHasher.html