1.0.4 • Published 5 years ago
random-hash-generatorv1 v1.0.4
random-hash-generatorv1
Generate random hash
Requirements
For development, you will only need Node.js and a node global package, Yarn, installed in your environement.
Install
$ npm i -g random-hash-generatorv1
Example
const hsh = require("random-hash-generatorv1");
const hash = hsh.genHash("secret-key","val");
console.log(hash); //849636715926ddf405cadad48b0947d59cb57bfb123b4312a46d82b6e6a5725c
(OR)
const hash = hsh.genHash();
console.log(hash); //405cadad48b0312a46d8da6d2sb0947d59cb57bfb123b4312a46d82b6e6a5725c