JavaScript-MD5加密
代码:
- <script src="yourUrl/md5.min.js"></script>
- 或者:
- <script src="http://cdn.bootcss.com/blueimp-md5/1.1.0/js/md5.js"></script>
- <script src="http://cdn.bootcss.com/blueimp-md5/1.1.0/js/md5.min.js"></script>
示例:
- var hash = md5("value"); // "2063c1608d6e0baf80249c42e2be5804"
- var hash = md5("111111"); // "96e79218965eb72c92a549dd5a330112"
参考地址:
http://www.bootcdn.cn/blueimp-md5/
https://github.com/blueimp/JavaScript-MD5
原文链接:http://blog.csdn.net/xw505501936/article/details/48224593
龙腾一族至尊龙骑