Skip to content

Instantly share code, notes, and snippets.

@sirojkhuja
Forked from kitek/gist:1579117
Created January 27, 2023 04:46
Show Gist options
  • Save sirojkhuja/b34d18403835408a7c0b3e7a1473d0b2 to your computer and use it in GitHub Desktop.
Save sirojkhuja/b34d18403835408a7c0b3e7a1473d0b2 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