Package Exports
- sha512-crypt-ts
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sha512-crypt-ts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
SHA-512-crypt-ts
Crypt compatible ES5 implementation inspired by mvo5/sha512crypt-node
Installation
Install NPM package
npm install --save sha512-crypt-ts
Import module
import { sha512 } from 'sha512-crypt-ts';
Usage
sha512.sha512crypt('password', 'saltsalt'); // Returns $6$saltsalt$qFmFH.bQmmtXzyBY0s9v7Oicd2z4XSIecDzlB5KiA2/jctKu9YterLp8wwnSq.qc.eoxqOmSuNp2xS0ktL3nh/
Another examples can be found in unit tests or in peer project bedlaj/unifi-reset-password.