aspose file tools*
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
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: 41816
    
  62
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do I hide my code?