wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes How do I hide my code? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply locked New topic
Author

How do I hide my code?

Malith Yapa
Ranch Hand

Joined: Jan 17, 2007
Posts: 45
Hi everyone,

I wrote an encryption class to use in my database application and it works fine. But the thing is anyone can extract the class file from my jar and use it to dycrypt what i encrypted as they like. Or they can decompile the file catch the encryption method. Have you got any idea how to overcome this problem..

A friend of mine suggested using native libraries and compiling my file to an .exe But neither him or I got an idea on how to do it..

Thanks for your time..
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41042
    
  43
Please do not post the same question to multiple forums. Let's continue the discussion in this duplicate thread, where you have an answer already.


Ping & DNS - my free Android networking tools app
 
Consider Paul's rocket mass heater.
 
subject: How do I hide my code?
 
Similar Threads
i need help on using tools
encryption and decryption
Urgent...
IDEA encryption in java.
How do I hide my code?