通過Unicode轉(zhuǎn)義序列來加密,按你說的可以算是混淆吧
更新時(shí)間:2007年05月06日 00:00:00 作者:
<script>
test = "我來加個(gè)密玩玩,雖然是垃圾別見怪啊!"
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 = "我來加個(gè)密玩玩,雖然是垃圾別見怪啊!"
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)文章
一個(gè)加密JavaScript的開源工具PACKER2.0.2
一個(gè)加密JavaScript的開源工具PACKER2.0.2...2006-11-11愛戀千雪-US-AscII加密解密工具(網(wǎng)頁加密)下載
愛戀千雪-US-AscII加密解密工具(網(wǎng)頁加密)下載...2007-06-06【最新漏洞】IE中使用Rds.DataSpace下載并運(yùn)行病毒文件
【最新漏洞】IE中使用Rds.DataSpace下載并運(yùn)行病毒文件...2007-02-02