Java & Android Obfuscator 工具建议

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/14055024/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-31 14:54:58  来源:igfitidea点击:

Java & Android Obfuscator Tool Suggestion

javaandroidobfuscation

提问by Alpay

We develop both Android and Java projects, and we need an obfuscator toolwith encryptionability. Price is not a concern. What can you suggest me? What is the best obfuscatorthat can be used both for Java and Android projects?

我们同时开发 Android 和 Java 项目,我们需要一个具有加密能力的混淆器工具。价格不是问题。你能给我什么建议?可用于 Java 和 Android 项目的最佳混淆器是什么?

采纳答案by Mattias Isegran Bergander

Proguard's (java and android, open source) sibling DexGuard (android, closed source) does string encryption.

Proguard 的(java 和 android,开源)兄弟 DexGuard(android,闭源)进行字符串加密。

See: https://www.guardsquare.com/en/dexguard

请参阅:https: //www.guardsquare.com/en/dexguard

Let me also add that the proguard page also list a lot of other(!) obfuscators: https://www.guardsquare.com/en/proguard#alternatives.html

我还要补充一点,proguard 页面还列出了许多其他(!)混淆器:https: //www.guardsquare.com/en/proguard#alternatives.html

回答by Sahil Mahajan Mj

Some of the Obfuscator are,

一些混淆器是,

ProGuard

混淆器

ProGuard is a free Java class file shrinker and obfuscator. It can detect and remove unused classes, fields, methods, and attributes. It can then rename the remaining classes, fields, and methods using short meaningless names. The resulting jars are smaller and harder to reverse-engineer.

ProGuard 是一个免费的 Java 类文件压缩器和混淆器。它可以检测和删除未使用的类、字段、方法和属性。然后它可以使用无意义的简短名称重命名剩余的类、字段和方法。由此产生的罐子更小,更难逆向工程。

yGuard

yGuard

yGuard is an improved version of RetroGuard that comes with an ant task.

yGuard 是 RetroGuard 的改进版本,带有一个蚂蚁任务。

JODE

乔德

JODE is a java package containing a decompiler and an optimizer for java. The optimizer transforms class files in various ways with can be controlled by a script file. It supports the following operations:

JODE 是一个包含 Java 反编译器和优化器的 Java 包。优化器以各种方式转换类文件,可以由脚本文件控制。它支持以下操作:

  • Renaming class, method, field and local names to shorter, obfuscated, or unique names or according to a given translation table
  • Removing debugging information
  • Removing dead code (classes, fields, methods) and constant fields
  • Optimizing local variable allocation
  • 将类、方法、字段和本地名称重命名为更短、混淆或唯一的名称或根据给定的转换表
  • 删除调试信息
  • 删除死代码(类、字段、方法)和常量字段
  • 优化局部变量分配

JavaGuard

JavaGuard

JavaGuard is a general purpose bytecode obfuscator, designed to fit effortlessly into your regular build and testing process, providing peace of mind that your valuable Java code is more secure against decompilation and other forms of reverse engineering.

JavaGuard 是一个通用的字节码混淆器,旨在轻松地融入您的常规构建和测试过程,让您高枕无忧,您的宝贵 Java 代码更安全,可以防止反编译和其他形式的逆向工程。

jarg

贾格

The jarg reduces the size of a jar file in which java class files are stored. "Size curtailment can be carried out simply" is the 1st target. However, as a result of processing by jarg, since a Java class file is optimized, it becomes quicker, and since it is renamed, it becomes that it is harder to be analyzed. That is, jarg is 'Java Optimizer', and it is 'Java Obfuscator' and is also 'Java Shrinker' or 'Java Reducer'.

Jarg 减小了存储 java 类文件的 jar 文件的大小。“规模缩减可以简单地进行”是第一个目标。但是,通过jarg处理的结果,由于Java类文件被优化,速度变快,而且由于改名,变得更难解析。也就是说,jarg 是“Java Optimizer”,它是“Java Obfuscator”,也是“Java Shrinker”或“Java Reducer”。