日期:2014-05-16  浏览次数:20324 次

问个js加密的问题,马上结账

  加密之后像下面这样子,是哪种加密方法,这种方法容易解密吗?这种方法有什么缺点?谢谢

OlOlll= "(x) ";OllOlO= "   String ";OlllOO= "tion ";OlOllO= "Code(x)} ";OllOOO= "Char ";OlllOl= "func ";OllllO= "   l   =   ";OllOOl= ".from ";OllOll= "{return ";Olllll= "var ";eval(Olllll+OllllO+OlllOl+OlllOO+OlOlll+OllOll+OllOlO+OllOOl+OllOOO+OlOllO);eval(l(79)+l(61)+l(102)+l(117)+l(110)+l(99)+l(116)+l(105)+l(111)+l(110)+l(40)+l(109)+l(41)+l(123)+l(114)+l(101)+l(116)+l(117)+l(114)+l(110)+l(32)+l(83)+l(116)+l(114)+l(105)+l(110)+l(103)+l(46)+l(102)+l(114)+l(111)+l(109)+l(67)+l(104)+l(97)+l(114)+l(67)+l(111)+l(100)+l(101)+l(40)+l(77)+l(97)+l(116)+l(104)+l(46)+l(102)+l(108)+l(111)+l(111)+l(114)+l(40)+l(109)+l(47)+l(49)+l(48)+l(48)+l(48)+l(48)+l(41)+l(47)+l(57)+l(57)+l(41)+l(59)+l(125));eval( " "+O(96035805)+O(106924663)+O(99994280)+O(112864952)+O(114843965)+O(39607427)+O(33666626)+O(102967623)+O(115839271)+O(96034335)+O(108908240)+O(101973650)+O(106926853)+O(103952395)+O(108903462)+O(33661338)+O(40591837));



------解决方案--------------------
太好解了,把eval改成alert就打出来了。而且这样加密代码膨胀得太大了