UNPKG

bower

Version:

The browser package manager

7 lines (5 loc) 152 B
'use strict'; var crypto = require('crypto'); module.exports = function (buf) { return crypto.createHash('md5').update(buf, 'utf8').digest('hex'); };