Argon2id.hash()
Hashes the provided password with argon2id.
Definition
function hash(password: string): Promise<string>;
Parameters
password
Example
const hash = await argon2id.hash(password);
Argon2id.hash()
Hashes the provided password with argon2id.
function hash(password: string): Promise<string>;
password
const hash = await argon2id.hash(password);