Created
February 23, 2018 20:57
-
-
Save techsin/5b32249c753a67c8340477a3bad5a3be to your computer and use it in GitHub Desktop.
This file contains hidden or 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
const crypto = require('crypto'); | |
function hash(msg){ | |
return crypto.createHash('sha256').update(msg).digest('hex'); | |
} | |
// '24d78aedae3a0747299d9c7b93f524221aa20c73274faab1ef75f584c453fcb0' | |
// what did i say? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment