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

Latest commit

 

History

History
12 lines (9 loc) · 278 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 278 Bytes

@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")