import crypto from 'crypto'; export default function md5(date: string) { return crypto.createHash('md5').update(date).digest('hex'); };