使用MD5加密的方法:下载md5.js文件,在网页中引用该文件:
< script type="text/javascript" src="md5.js">< /script>
在你需要使用MD5加密的地方如此调用:
< script type="text/javascript" > hash = hex_md5("input string");< /script>
md5.js
转自:https://www.cnblogs.com/fozero/p/6211844.html