0.0.2 • Published 2 years ago

densyy-password v0.0.2

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
2 years ago

Densyy - Password

  1. Instalação
pnpm add densyy-password
  1. Utilização
/* ---- Requires ---- */

const helperPassword = require('densyy-password')

/* ---- Examples ---- */

const key = process.env.BCRYPT_KEY
const senha = '123456798'

const senhaCriptada = await helperPassword.encrypt(senha, key)
const senhaOk = await helperPassword.check(senha, senhaCriptada, key)
0.0.2

2 years ago

0.0.1

2 years ago