Oslo

Argon2id.hash()

Hashes the provided password with argon2id.

Definition

function hash(password: string): Promise<string>;

Parameters

  • password

Example

const hash = await argon2id.hash(password);