MD5加密
~~~
<!DOCTYPE HTML>
<html lang="en">
<head>
<!--声明当前页面编码:charset=gbk,gb2312(中文编码),utf-8国际编码-->
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<!--当前页面三要素-->
<script src="https://cdn.bootcss.com/blueimp-md5/2.10.0/js/md5.js"></script>
<script src="https://cdn.bootcss.com/crypto-js/3.1.9/core.min.js"></script>
<script src="https://cdn.bootcss.com/crypto-js/3.1.9/md5.min.js"></script>
<title>Document</title>
</head>
<body>
<script type="text/javascript">
console.log("123456");
console.log(md5("123456")); //md5.js测试 e10adc3949ba59abbe56e057f20f883e
console.log(CryptoJS.MD5("123456").toString()); //CryptoJS.MD5 e10adc3949ba59abbe56e057f20f883e
</script>
</body>
</html>
~~~