Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Obfuscation

From Wiki
Jump to: navigation, search

This article explains how "Obfuscation" can be used to optimise your code and make it harder to copy. It also lists some of the more important Java ME obfuscator software.

Article Metadata
Article
Created: wang_shui (23 Mar 2007)
Last edited: hamishwillee (24 Jul 2013)

Contents

Overview

Obfuscation refers to "the deliberate act of non destructively changing either the source code of a computer program or machine code when the program is in some compiled or binary form, so that it is not easy to understand or read."

The use of an obfuscator for obfuscation is an integral part of the code optimization & security of the source code.

What does the obfuscator do?

  • Reduces the code size
  • Removes unwanted code
  • Replaces large variable names with shorter ones
  • Changes the code such it will not be understood by a 3rd person

The most commonly used obfuscators for Java ME are listed in the following sections

Proguard

Proguard It is available as opensource, Proguard is the widely used obfuscator for Java ME. ProGuard is a free Java class file shrinker, optimizer, and obfuscator. It removes unused classes, fields, methods, and attributes. It then optimizes the bytecode. It then renames the remaining classes, fields, and methods using short meaningless names.


Retroguard

Retroguard is a general purpose obfuscator for Java bytecode, designed to be integrated into your build and test process, providing security for your valuable Java applets and applications.

Others

This page was last modified on 24 July 2013, at 10:48.
125 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×