selfish
5/24/2016 - 6:39 PM

Simple MD5 hash in your Node.js application. Not recommended for security.

Simple MD5 hash in your Node.js application. Not recommended for security.

var crypto = require('crypto');

var data = "whatever";

var hashedValue = crypto.createHash('md5').update(data).digest("hex");