sha-hasher
v1.0.5
Published
Generate a SHA256 Hash
Downloads
5
Maintainers
Readme
Current features:
- generating a SHA256 hash
- generating a SHA512 hash
Setup for the project
Download the module with the command: npm install --save sha-hasher
Import the module with:
const Hasher = require('sha-hasher');
#Important Notice This package is a extension package for the lsj npm package https://www.npmjs.com/package/lsj
SHA256-hash generator usage
var text = "The text you want to use";
var hash = Hasher.SHA256(text);
SHA512-hash generator usage
var text = "The text you want to use";
var hash = Hasher.SHA512(text);