Generate a SHA-256 hash from a string in Node.js
Generates a lowercase-hex encoded hash from any string in Node.js.
For those who are tired of typing crypto.createHash('sha256').update(str).digest('hex');
.
Usage
const sha256 = ; console;
Generates a lowercase-hex encoded hash from any string in Node.js.
For those who are tired of typing crypto.createHash('sha256').update(str).digest('hex');
.
const sha256 = ; console;
npm i s256
140
1.0.0
Unlicense
1.01 kB
3