Packages@robojs/auth
~~hashPassword()~~
Function: hashPassword()
function hashPassword(password, options?): Promise<string>Generates a PHC-formatted Argon2id hash string for a plaintext password.
Parameters
| Parameter | Type |
|---|---|
password | string |
options? | HashPasswordOptions |
Returns
Promise<string>
Deprecated
Use Argon2Hasher or a custom PasswordHasher instead.
