Created
February 7, 2019 08:02
-
-
Save hanut/5cb919ac452a50fb5543836b0050a213 to your computer and use it in GitHub Desktop.
Cute Nodejs Snippets
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'); | |
| let message = "Some data you want to encrypt"; | |
| let hash = crypto.createHash('md5').update(data).digest("hex"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment