Reputation: 6691
I am using a jar file which contains an algorithm I have developed. As it is easy to decompile it, in order to prevent it, I want to convert jar into native code and use it with NDK. How to do it ? Any other way to do it ?
Upvotes: 0
Views: 709
Reputation: 7
Java code obfuscation is good to improve the security of your code from reverse engineering. Try any tools like progaurd
Upvotes: 0
Reputation: 19847
I'm assuming you've written your algorithm in Java. You must have it in C/C++ to use NDK.
I can see only 2 options:
Upvotes: 1