Innovenergy_trunk/frontend/node_modules/crypto-md5/md5.js

10 lines
200 B
JavaScript
Raw Normal View History

(function () {
'use strict';
var crypto = require('crypto');
module.exports = function (data, digest) {
return crypto.createHash('md5').update(data).digest(digest || 'base64');
};
})();