This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How To Protect Your class file from Decompilation

 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
there are many powerfull decompilers present on net.is it possible to protect class file from decomplilation in java.i know there are some tools which can protect class file from decompilation.i want to know is there security system present in java which can protect class file from decompilation.or i have to write some code to protect my class file.
thanks
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can google the net for "obfuscation" and learn more about this. Here you go.
 
Frank Ertl
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

there's a tool called key4J (www.key4j.de) that encrypts your bytecode and decrypts it with its own classloader implementation. This makes things quite secure.
But you should always be aware that no code is safe from cracking
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic