Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Disabling Decompilation  RSS feed

 
Amit Agrawal
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know it's not related with Security directly but still intrested to know if there is any way to prevent decompilation of my class files. Actually I don't want anybody to see what algorithm I have used to check some particular thing.
Any idea/help ?
Thanks,
Amit.
 
Jim Plunkett
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Search for a Java Obfuscator.
These mangle the code in various ways that is designed to confuse decompliers and those who read the decompiled output. They generally start with replacing all names with numbers, and also play games with the byte codes.
I haven't used any, but in looking into it some time ago, I got the impression that is is a bit of an 'arms race' between the obfuscators and the decompilers. The obfuscators will create a trick that confounds the decompilers, they'll issue a new version that handles that trick, new tricks come out, etc. It isn't guaranteed, but it is a start.
I also don't know about how the various obfuscators affect the performance or stability of the code. It would be great if anyone could relay some real experience...
 
raghavender rao
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ther,
go through following links

obfuscation software jmangle
http://www.elegant-software.com/software/jmangle/

Your complete guide to the decompilation and obfuscation of Java code
http://www-106.ibm.com/developerworks/java/library/j-obfus/?loc=tstheme

http://www.acm.org/crossroads/xrds4-3/codeob.html
Shrinkers, Obfuscators, Zippers, Installers
About Crema....
http://www.meurrens.org/ip-Links/Java/CodeEngineering/obfusc.html#KlassMaster-O

for further help dont hesitate to mail me back
Rao
 
Amit Agrawal
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks buddies..
but most of the downloadable version are effective for only first few (normally 5) methods of a class and right now i am unable to talk of purchasing one.
but thanks anyway.
[This message has been edited by Amit Agrawal* (edited August 30, 2001).]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!