3 回答

www說(shuō)
TA貢獻(xiàn)1775條經(jīng)驗(yàn) 獲得超8個(gè)贊
jquery.sha1.js 具體解決方案如下:
用script標(biāo)簽引入,,,,代碼
<script src="....."></script>
<script language="JScript" runAt="server">
function add(x, y)
{
return ((x&0x7FFFFFFF) + (y&0x7FFFFFFF)) ^ (x&0x80000000) ^ (y&0x80000000);
}
function MD5hex(i)
{
var sHex = "0123456789abcdef"
h = "";
for(j = 0; j <= 3; j++)
{
h += sHex.charAt((i >> (j * 8 + 4)) & 0x0F) +
sHex.charAt((i >> (j *) & 0x0F);
}
return h;
}
- 3 回答
- 0 關(guān)注
- 2113 瀏覽
添加回答
舉報(bào)
0/150
提交
取消