@chocolab/password
TypeScript icon, indicating that this package has built-in type declarations

1.0.4-alpha.0 • Public • Published


deps dev-deps chat Maintainability Codacy Badge License: GPL v3 npm version npm size npm downloads npm vulnerabilities


@chocolab/password

Encrypt and decrypt password

Install

yarn add @chocolab/password

Usage

import { encrypt, decrypt } from '@chocolab/password'

const hash = await encrypt('password')
await decrypt('password', hash) // return true
await decrypt('passwd', hash) // return false

Maintainers


jefer94

Readme

Keywords

none

Package Sidebar

Install

npm i @chocolab/password

Weekly Downloads

2

Version

1.0.4-alpha.0

License

MIT

Unpacked Size

9.63 kB

Total Files

13

Last publish

Collaborators

  • jefer94