Suggestions for java obfuscator to change method / class / variable name

I am looking for a java obfuscator that will at least rename all private method names, internal method variables, such that reading the source code and decompiling the flag will make it unfriendly for this.

I understand that it is difficult to gain knowledge of the algorithm, etc., I just want it to be a pain for decompilation and, therefore, for maintaining decompiled code.

The goal is to prevent someone from decompiling the source and just using it without having to do any work. I donโ€™t care if they can define my algorithms, etc. I just donโ€™t want it to be very simple, where they could just decompile .jar and add 100% visible and readable source code to their project.

Suggestions?

+4
source share
2 answers

ProGuard is what I use.

http://proguard.sourceforge.net/

has a nice easy to use graphical user interface or can be implemented in ant script. Also offers optimization and some other nice features.

+4
source

Obfuscation is not the only option. See My article, Protect Your Java Code - Through Obfuscators and Beyond . If nothing else, you will find links to actively supported obfuscators there.

+2
source

Source: https://habr.com/ru/post/1390161/


All Articles