Is there any JS library to obscure string manipulation?

你说的曾经没有我的故事 提交于 2019-12-08 13:34:56

问题


I'd like to make the string manipulation as obscured as possible.

Now I wrote a small function made HEX string from the original string (the length of the result is twice as the length of the original). But even after the uglification the code is too simple to be understood by the hacker.

Is there any library which will convert the string to is self (= will not made any changes or made minor changes to the original) with very obscured code?


回答1:


May be these tools might help you:

  1. Javascript Obfuscator

  2. Javascript Encoder

  3. Javascript & jQuery Obfuscator Tool



回答2:


I found this powerful obfuscator:

http://www.js-x.com/page/javascripts__example.html?view=1109

It includes the possibility to bind Javascript to a single website (if code is downloaded, it won't work).

Here's the live demo: http://www.js-examples.com/page/javascripts__example.html?run=1109



来源:https://stackoverflow.com/questions/22555643/is-there-any-js-library-to-obscure-string-manipulation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!