Skip to content
This repository has been archived by the owner on Dec 19, 2021. It is now read-only.
/ argon2 Public archive

Password hashing and validation module for resty.js.

License

Notifications You must be signed in to change notification settings

restyjs-graveyard/argon2

Repository files navigation

@restyjs/argon2

Password hashing and validation module for resty.js.

import { hash, verify } from "@restyjs/argon2";

// hash plain password
const result = await hash("foobar");

// verify password
const isVerified = await verify(result.password, "foobar")