微信小程序实现md5加密
文章目录
md5.js
const c = require("crypto-js");
var x = {};
x.md5 = function(data)
{
return c.MD5(data).toString();
};
module.exports = x;
md5.js
const c = require("crypto-js");
var x = {};
x.md5 = function(data)
{
return c.MD5(data).toString();
};
module.exports = x;
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论