MD5 hash with Node JS

The collection system used at has been moved nodeJS. I have to generate md5 hash for sampiling out the visitors for showing surveys.

Found out node is so simple doing it. All i have to do is

npm install MD5

Actually we manage packages through package.json it is like maven another nice feature that will impress for sure.


var md5 = require('MD5');
console.log(md5.digest_s("sri"));