JS中使用MD5加密

使用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

posted @ 2019-07-01 21:54  笠航  阅读(58887)  评论(0编辑  收藏  举报