public validatePassword ( string $password, string $hashedPasswordAndSalt, string $staticSalt = null ) : boolean | ||
$password | string | The cleartext password |
$hashedPasswordAndSalt | string | The derived key and salt in as returned by crypt() for verification |
$staticSalt | string | Optional static salt that will be appended to the dynamic salt |
return | boolean | TRUE if the given password matches the hashed password |