Hi, I have an idea of over coming de-compilation of byte code. i.e. Have your own classloader, which acts as the entry point for all of your bytecode for the JVM. To that classloader pass the encrypted bytecode instead of plain .class files. Your classloader should have the logic to decrypt you encrypted bytecode and then it should load them in to the JVM. While shutting down the system either you can delete all your decrypt bytecode and encrypt them again as per you requirement. This is my suggestion. Will it be possible? Any input? Thanks in Advance / Rajan Kumar
Sure, it is possible... But you can't encrypt the classloader itself, so it's always possible for someone to figure out the encryption method. It would not take long for someone to reverse this scheme.
Sun Certified Programmer for the Java 2 Platform
Hang a left on main. Then read this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop