CartoDB-SQL-API/lib/utils/md5.js
Daniel García Aubert 5a96dbb59c Run eslint --fix
2019-12-23 18:19:08 +01:00

10 lines
193 B
JavaScript

'use strict';
var crypto = require('crypto');
module.exports = function generateMD5 (data) {
var hash = crypto.createHash('md5');
hash.update(data);
return hash.digest('hex');
};