Skip to content

Instantly share code, notes, and snippets.

@kounelios13
Forked from kitek/gist:1579117
Last active March 4, 2018 19:26
Show Gist options
  • Save kounelios13/c16c6428ff6a6749a77d8d722783b0b4 to your computer and use it in GitHub Desktop.
Save kounelios13/c16c6428ff6a6749a77d8d722783b0b4 to your computer and use it in GitHub Desktop.
NodeJS create md5 hash from string
var crypto = require('crypto');
const create_string_hash = (data) => 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