md5 in js code example
Example 1: npm md5
npm i md5
var md5 = require("md5");
console.log(md5("message")); //encryption of message
Example 2: js create md5 hash
var md5Hash = CryptoJS.MD5("Test");
npm i md5
var md5 = require("md5");
console.log(md5("message")); //encryption of message
var md5Hash = CryptoJS.MD5("Test");