本文介绍了DexGuard如何加密类?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想检查DexGuard如何工作,但似乎没有免费试用版。

I want to check how DexGuard works but it seems that it doesn't have a free trial version.

DexGuard可以加密Android应用程序吗?还是简单地模糊代码? DexGuard加密如何工作?如果您可以在反编译前后从DexGuard运行的示例应用程序中提供代码,那将是非常好的。

Can DexGuard encrypt an Android application? Or does it simply obfuscate the code? How does DexGuard encryption work? If you could provide code from a sample application run with DexGuard before and after decompilation, it would be great.

推荐答案

提供名称混淆:它可以用短而无意义的名称替换类,方法和字段的原始名称。 还提供字符串加密和类加密。在这种情况下,加密术语可能会令人困惑,因为这些术语基本上是更具侵略性的混淆类型。指定的字符串和类以一些有意复杂的加密形式存储,并在运行时使用应用程序必需的密钥和算法进行解密。在某些方面,Google Play市场可以加密Android 4.1的整个应用程序。运行环境然后在受控的方式解密应用程序。

ProGuard provides name obfuscation: it can replace the original names of classes, methods, and fields by short, meaningless names. DexGuard additionally provides string encryption and class encryption. The term encryption may be confusing in this context, since these are basically more aggressive types of obfuscation. Designated strings and classes are stored in some intentionally complex encrypted form, and decrypted at runtime with keys and algorithms that are necessarily available to the application. In some ways similarly, the Google Play market can encrypt entire applications for Android 4.1. The runtime environment then decrypts the application before it is executed, in a controlled fashion.

(我是ProGuard和DexGuard的开发人员 - 随时可以联系如果你有兴趣)

(I am the developer of ProGuard and DexGuard -- feel free to get in touch if you're interested)

这篇关于DexGuard如何加密类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-17 04:57