Verify a password against a hash using a timing attack resistant approach
| Parameters | |||
|---|---|---|---|
string
|
$password |
The password to verify |
# |
string
|
$hash |
The hash to verify against |
# |
| Returns | |
|---|---|
boolean
|
If the password matches the hash |