<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
Remove this if you use the .htaccess -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>new_file</title>
<meta name="description" content="" />
<meta name="author" content="huan" />
<meta name="viewport" content="width=device-width; initial-scale=1.0" />
<!-- Replace favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<script type="text/javascript" src="sha1.js"></script>
<script type="text/javascript">
var digestString = CryptoJS.SHA1("jsapi_ticket=kgt8ON7yVITDhtdwci0qeQbLpmlS-MiLYspJQRfAzNa2Tb2JBoW6eQHE8CBrEJbaFcs8TdJETjm9yfJyIcZjbw&noncestr=20170601104203883536×tamp=1496284923&url=http://wx.octhotels.cn/weixin/wxCoupon.html?id=324574&requestType=getDetail", { asString: true });
alert(digestString)
</script>
</head>
<body>
<div>
<header>
<h1>new_file</h1>
</header>
<nav>
<p>
<a href="/">Home</a>
</p>
<p>
<a href="/contact">Contact</a>
</p>
</nav>
<div>
</div>
<footer>
<p>
© Copyright by huan
</p>
</footer>
</div>
</body>
</html>
微信开发签名sha1.js
5星 · 超过95%的资源 需积分: 46 162 浏览量
2017-06-01
10:52:30
上传
评论
收藏 3KB ZIP 举报
TecsonChan
- 粉丝: 1
- 资源: 3