Skip to content

Instantly share code, notes, and snippets.

@ruyaoyao
Forked from kitek/gist:1579117
Created October 20, 2016 07:18
Show Gist options
  • Save ruyaoyao/189db73f8ac775e6b2aed7bed3614362 to your computer and use it in GitHub Desktop.
Save ruyaoyao/189db73f8ac775e6b2aed7bed3614362 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