javaobfuscation

Obfuscate Strings in Java


I'm working on a project and I need specific URL calls to be hidden; I don't want this URL to be visible. Here's an example of how the URL call would look.

public void example(View view) {
    goToUrl("example.com");
}

Solution

  • Taking a look back at this question after almost 2 years, This question has gotten quite a lot of attention, I have found some obfuscators that I ended up using for String obfuscation but every Obfuscation can be broken. This is my List of obfuscators that encrypts Strings I will start of by listing paid obfuscators.

    1. Zelix Klass Master

    Their official website is https://zelix.com

    This is one of the best java obfuscators for either jar or android in my opinion. How ever It's not cheap as expected because of how good the obfuscator is.

    A single license can cost you $239 If you are a small developer or $479 if you are a team of developer (Comapany).

    You can see the list of features here

    2. DexGuard

    Their official website is https://www.guardsquare.com/en

    DexGuard is an Obfuscator made by the people who are behind Proguard

    This is the second best obfuscator in my opinion. The name obfuscation is way better then the name obfuscation on Zelix.

    I am not sure about their pricing since I have never used it but I have seen it being used on applications. How ever you can request a pricing here

    Free Obfuscators.

    You can find free alternative's such as StringCare and Paranoid

    They aren't as good as the one's I listed above, It would take at most 5 seconds for someone with basic knowledge of java to crack your program with these two tools.