Question: Can this tool be used to obfuscate just the values of some strings file?

Author: AndroidDeveloperLBCreated Aug 29, 2023Updated Aug 29, 2023

There are some libraries out there that can do it, but each has its own disadvantage, mainly not supported anymore and not working anymore on various cases: https://github.com/MichaelRocks/paranoid https://github.com/StringCare/AndroidLibrary

Can this library do it? For example, suppose I have this:

<resources>
    <string name="some_important_password">42</string>
</resources>

And I want to reach this in code as normal:

getString(R.string.some_important_password)

Or using a special function:

SomeClass.getString(R.string.some_important_password)

Yet if you try to check the APK, you won't find "42" anywhere, and you might not even find "some_important_password", because both were obfuscated.

Is it possible here?