JS中使用MD5加密

使用MD5加密的方法:
下载md5.js文件,在网页中引用该文件:javascript

< script type="text/javascript" src="md5.js">< /script>html

在你须要使用MD5加密的地方如此调用:java

< script type="text/javascript" >
  hash = hex_md5("input string");
< /script>加密

md5.jsspa

转自:https://www.cnblogs.com/fozero/p/6211844.htmlhtm

相关文章
相关标签/搜索