Created
May 11, 2020 07:13
-
-
Save chtz/f360fa6d5a197a0c1d3d7fb34bbc1d0b to your computer and use it in GitHub Desktop.
node sha256 as hex string
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//npm install hash.js | |
const hash = require('hash.js') | |
hash.sha256().update(foo).digest('hex') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment