3.0.1 • Published 4 years ago
derived-key v3.0.1
derived-key
Generate a secure (one-way) hash to store secrets with
import { hash, verify } from 'derived-key'
async function main () {
const hashed = await hash('password')
return verify('password', hashed)
}
main().then(x => console.log(x)) //true
Building & Testing
npm i
npm run watch