Created
October 11, 2015 17:24
-
-
Save MNBuyskih/c336d122c631d30b4699 to your computer and use it in GitHub Desktop.
Node.js quick MD5 function
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
var crypto = require('crypto'); | |
module.exports = function(string) { | |
return crypto.createHash('md5').update(string).digest('hex'); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment