Create MD5 hash with Node.js
var string = 'some string';
var crypto = require('crypto');
var hash = crypto.createHash('md5').update(string).digest('hex');
console.log(hash);
0
0
var crypto = require('crypto');
var hash = crypto.createHash('md5').update(string).digest('hex');
console.log(hash);
Thank you!
0
0
Are there any code examples left?
New code examples in category Javascript