1.0.1 • Published 3 years ago

hashfry v1.0.1

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
3 years ago

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