B4J Question Obfuscating of library methods

Discussion in 'B4J Questions' started by JackKirk, Oct 13, 2019 at 1:01 AM.

  1. JackKirk

    JackKirk Well-Known Member Licensed User

    This question has relevance across B4J and B4A.

    I am doing some security enhancements for some apps that use B4J libraries.

    One of the things I am doing is reading some hex strings from a file, converting to bytes then decrypting.

    I compile the app with obfuscation then use a java decompiler to look at the resulting .jar

    The trouble is that, when using the java decompiler, if I search for "Decrypt" (a method in the jB4XEncryption library) it pops up large as life - pointing to the (obfuscated) variable that is the encryption key.

    If I could obfuscate "Decrypt" it would make it considerably harder for a hacker.

    I am not adverse to modifying the jB4XEncryption library if necessary - if I knew how.

    Any suggestions?

    Thanks in anticipation...
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice