Function: needsRehash()
needsRehash(
storedHash):boolean
Defined in: hash.ts:102
Returns true if the stored hash uses the legacy format or fewer iterations than currently recommended. Callers can re-hash the password on the user's next successful login.
Parameters
| Parameter | Type |
|---|---|
storedHash | string |
Returns
boolean