Skip to content

Instantly share code, notes, and snippets.

@ngocdon0127
Forked from kitek/gist:1579117
Created June 16, 2016 05:40
Show Gist options
  • Select an option

  • Save ngocdon0127/81ed29625451b0527a0b585571296ad8 to your computer and use it in GitHub Desktop.

Select an option

Save ngocdon0127/81ed29625451b0527a0b585571296ad8 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