Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 634 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 634 Bytes

Simple strings obfuscation

This repository contains a sample application and a Gradle plugin that allows to obfuscate constant strings in the Android application.

For each character of the string, two random numbers addKey and mulKey are generated and obfuscation occurs according to the formula:

((char + addKey) % 256 * mulKey % 256) % 256;

Obfuscation is added automatically during application build.

WARNING. This obfuscation is applied only to strings that are loaded onto the stack via the LDC command and can be easily bypassed without additional protection mechanisms by tools such as Frida.