Search code examples
javaencryption.class-file

Is it possible to encrypt a java class file?


Is it possible to encrypt a java class file with MD5 & decrypt it for execution?

I have a client & I'd like to try encrypting my class files that have to be decrypted via a jar file in my dropbox. I have md5 text enryption in java, but how would I set the text to be encrypted as the text in the class file?

I've searched around but haven't found anything with someone trying to attemt it, hense I want to try this method.


Solution

  • MD5 is not a reversible function. Further, no one-way hash should be a reversible function.