@chocolab/password

<div align="center"> <br> <br>

Usage no npm install needed!

<script type="module">
  import chocolabPassword from 'https://cdn.skypack.dev/@chocolab/password';
</script>

README



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