Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Java Obfuscation?

Java Obfuscation?
Thread Tools
Mac Enthusiast
Join Date: Sep 2000
Location: New York, NY
Status: Offline
Reply With Quote
Mar 10, 2003, 07:44 AM
 
Anyone have any thoughts on obfuscation tools for Java? I'm in the process of researching them for work and they all seem to suck balls to tell you the truth.

Here's something else to think about to get things rolling -- how impractical would it be to obfuscate obfuscated code? My theory is that you would get a mess that most likely wouldn't run do to excessive transformation and over optimization.

Josh
20 Inch Intel iMac * MacBook 2 GHz * 60GB iPod * 4GB iPhone
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Mar 10, 2003, 02:50 PM
 
Originally posted by JFischel:
Anyone have any thoughts on obfuscation tools for Java? I'm in the process of researching them for work and they all seem to suck balls to tell you the truth.
I've never needed one (all my java code is used in-house), but here are a few you might not know about:

http://oikaze.com/~tamada/Products/D...e/index-e.html

http://www.retrologic.com/retroguard-main.html

Here is an article discussing your options:

http://mindprod.com/jglossobfuscator.html
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Mac Enthusiast
Join Date: Apr 2001
Location: 127.0.0.1
Status: Offline
Reply With Quote
Mar 11, 2003, 06:40 AM
 
I've been using JODE for a while. It's a great tool offering multiple variants of obfuscation, it's highly configurable, and it's open source to boot.
     
Junior Member
Join Date: Oct 2001
Status: Offline
Reply With Quote
Mar 11, 2003, 11:31 AM
 
Sorry for the ignorance, but what does "obfuscation" mean?

type R
I be that insane n***a from the psycho ward.
     
Dedicated MacNNer
Join Date: Mar 2001
Location: Iowa City, IA
Status: Offline
Reply With Quote
Mar 11, 2003, 12:51 PM
 
To obfuscate something is to make it unclear. In this case, since Java is interpreted (or dynamically compiled) the source is visible to the client - which, if you're paranoid about people learning from your code, is bad. So a code obfuscator scrambles the code enough to make it extremely hard for a human to read without requiring the developer to write code unintelligible to himself, and without changing its meaning to the Java runtime.

You can actually think of a compiler as a type of code obfuscator, since a compiler takes human-readable code and spits out a file that very few people can read, but which your machine can read fluently.
James

"I grew up. Then I got better." - Sea Wasp
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:52 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2