问题
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:
Javascript Obfuscator
Javascript Encoder
- 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