md5 encrypt js code example Example: npm md5 npm i md5 var md5 = require("md5"); console.log(md5("message")); //encryption of message