UNPKG

147 BJavaScriptView Raw
1"use strict";
2
3const crypto = require('crypto');
4
5module.exports = function(str) {
6 return crypto.createHash('md5').update(str).digest('hex');
7};