How to encrypt java's .class files?
807607Dec 14 2006 — edited Dec 14 2006Hi everyone,
When I open a class file called PCommon.class through Notepad, there are all following symbols coming out, such as:
Nov� Dec
���D compareTo [Ljava/lang/String;
SourceFile PCommon.java !
!
I thought all Java's class files are encrypted. However, since my PCommon.class has MS SQL connection code in it, I can see the IP address, username and password. Does anyone have any idea how to encrypt .class file or hide those codes I want? Thank you in advance.
Sincerely,