Skip to content

Instantly share code, notes, and snippets.

@farzadso
Forked from kitek/gist:1579117
Created August 7, 2018 17:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save farzadso/c2981ca64a7ae054a04d629fad9935cb to your computer and use it in GitHub Desktop.
Save farzadso/c2981ca64a7ae054a04d629fad9935cb to your computer and use it in GitHub Desktop.
NodeJS create md5 hash from string
var data = "do shash'owania";
var crypto = require('crypto');
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