O'Reilly logo

Android Security Cookbook by Scott Alexander-Bown, Keith Makan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Advanced code obfuscation with DexGuard

DexGuard is a commercial optimizer and obfuscator tool written by Eric Lafortune (who developed ProGuard). It is used in the place of ProGuard. Rather than targeting Java, DexGuard is specialized for Android resources and Dalvik bytecode. As with ProGuard, one of the key advantages for developers is that source code remains maintainable and testable, while the compiled output is both optimized and hardened.

In general terms, it is more secure to use DexGuard, given that it is optimized for Android and provides additional security features. In this recipe, we are going to implement two of those features, API hiding and string encryption, on the previous recipe's signature verification check:

  • API hiding: This ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required