Skip to content

Instantly share code, notes, and snippets.

@MNBuyskih
Created October 11, 2015 17:24
Show Gist options
  • Save MNBuyskih/c336d122c631d30b4699 to your computer and use it in GitHub Desktop.
Save MNBuyskih/c336d122c631d30b4699 to your computer and use it in GitHub Desktop.
Node.js quick MD5 function
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