You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code below shows an example for creating the hash. Simply use the `createHash` method by entering your password.
21
+
The code below shows an example for creating the hash. The `createHash` method generates the password hash along with the "peeper", and the `getHash` method returns the generated hash.
Checks whether the hash in `$hash` is valid. If the hash entered does not match the options received in the `createHash`method, it is possible to regenerate a new hash in `$verify_needs_rehash`. This function also makes timing attacks difficult.
93
+
To verify that the hash generated with `createHash` is valid, you can use `verifyHash` in two ways:
If the encryption type has been changed, you can generate a new hash with the new encryption. The `needsHash()` method checks whether the reported hash needs to be regenerated. Otherwise, it will return false.
0 commit comments