0.0.1-alpha.4 • Published 4 years ago

@restyjs/postman v0.0.1-alpha.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

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