通過(guò)Unicode轉(zhuǎn)義序列來(lái)加密,按你說(shuō)的可以算是混淆吧
更新時(shí)間:2007年05月06日 00:00:00 作者:
<script>
test = "我來(lái)加個(gè)密玩玩,雖然是垃圾別見(jiàn)怪啊!"
str = ""
for( i=0; i<test.length; i++ )
{
temp = test.charCodeAt(i).toString(16);
str += "\\u"+ new Array(5-String(temp).length).join("0") +temp;
}
document.write (str)
</script>
test = "我來(lái)加個(gè)密玩玩,雖然是垃圾別見(jiàn)怪啊!"
str = ""
for( i=0; i<test.length; i++ )
{
temp = test.charCodeAt(i).toString(16);
str += "\\u"+ new Array(5-String(temp).length).join("0") +temp;
}
document.write (str)
</script>
相關(guān)文章
破除網(wǎng)頁(yè)鼠標(biāo)右鍵被禁用的絕招大全
現(xiàn)在很多的網(wǎng)頁(yè)設(shè)置了禁用鼠標(biāo)右鍵,使很多的人沒(méi)有辦法繼續(xù)操作,現(xiàn)在教你幾招,讓你輕松破解2006-12-12
通過(guò)Unicode轉(zhuǎn)義序列來(lái)加密,按你說(shuō)的可以算是混淆吧
通過(guò)Unicode轉(zhuǎn)義序列來(lái)加密,按你說(shuō)的可以算是混淆吧...2007-05-05

