使用crypto-js的md5加密
-
md5加密代码:
let CryptoJS = require('crypto-js')
let signStr = 'xxxx'
let returnStr = CryptoJS.MD5(signStr).toString()
md5加密代码:
let CryptoJS = require('crypto-js')
let signStr = 'xxxx'
let returnStr = CryptoJS.MD5(signStr).toString()