Oslo

Argon2id.verify()

Verifies the password with the hash using argon2id.

Definition

function verify(hash: string, password: string): Promise<boolean>;

Parameters

  • hash
  • password

Example

const validPassword = await argon2id.verify(hash, password);