I have a web application and WEB-INF lib has some jars ....i dont wany any one using my web application to obfuscate my code ..hence i want a way to encrypt my classes and if so whats the way of decrypting them because while loading the classes tomcat may not be able to load those encrypted classes properly
i will encrypt using his tool ...but do i need to something from my server side ?? i mean will jvm understand this and will be able to load the class
And also is there any free tool for this because this is licensed for commercial use
Joined: Mar 05, 2002
You can use yGuard. This is free.
You do not need anything on your server side. The only thing that you have to do is run your classes through the obfuscator.
You have to make sure that all public methods are not obfuscated. An obfuscator actually discards all the variable, method and classnames. So if you have some methods and classes that you refer to externally you have to say to the obfuscator that is must leave these things alone.
In most obfuscator you will have to write a text file with the names of the classes and methods that may not be obfuscated. You will have to read the obfuscator's manuals for this.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com