hashfry

1.0.1 • Public • Published

hashfry

cryptographic hash functions made simple, with salting built in. most hash functions are supported. if your preferred hash function is not present, please open an issue.

usage

const hashfry = require('hashfry');

console.log(hashfry.sha256('password', 'salt')); // 7a37b85c8918eac19a9089c0fa5a2ab4dce3f90528dcdeec108b23ddf3607b99
console.log(hashfry.sha256('password')); // 5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8
console.log(hashfry.md5('password')); // 5f4dcc3b5aa765d61d8327deb882cf99

Package Sidebar

Install

npm i hashfry

Weekly Downloads

0

Version

1.0.1

License

Apache-2.0

Unpacked Size

14.1 kB

Total Files

4

Last publish

Collaborators

  • finlg