Validate a hashed password using the configured password hashing strategy
public validatePassword ( string $password, string $hashedPasswordAndSalt ) : boolean | ||
$password | string | The cleartext password |
$hashedPasswordAndSalt | string | The hashed password with salt (if used) and an optional strategy identifier |
Результат | boolean | TRUE if the given password matches the hashed password |