×
Namespaces

Variants
Actions
Revision as of 13:48, 24 July 2013 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Obfuscation

From Nokia Developer 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 13:48.
74 page views in the last 30 days.
×