blob: a7295b25fd7efb643c5176814aa8ce765d9b794e [file] [log] [blame]
import crypto from 'crypto';
function stringMd5(string) {
return crypto.createHash('md5').update(string, 'binary').digest('hex');
}
export default stringMd5;