import crypto from 'crypto-js' export const md5Encrypt = (str) => { return crypto.MD5(str).toString() }