Method | Description | |
---|---|---|
hash ( string $password ) : string | Hashes a password with the configured algorithm. | |
info ( $hash ) : array | Returns information about a hashed password (algo, options, . | |
needsRehash ( string $hash ) : boolean | Rehashes a user's password if necessary. | |
verify ( string $password, string $hash ) : boolean | Verifies a user's password against the provided hash. |
public needsRehash ( string $hash ) : boolean | ||
$hash | string | |
return | boolean |