Method | Description | |
---|---|---|
createPasswordHash ( string $password ) : string | Create a hash for the given password. | |
verifyPasswordHash ( string $password, string $hash ) : boolean | Verify if the $password matches the $hash. |
public createPasswordHash ( string $password ) : string | ||
$password | string | |
return | string | Password hash. |