Created
July 18, 2014 21:38
-
-
Save aarondai/88984e1abd810f5dd3bd to your computer and use it in GitHub Desktop.
NodeJS:Generate Hash
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
crypto.createHash('sha1').update(content).digest('hex'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment