android - Is NDK an alternative to reduce reverse engineering? -
i have given trying proguard work on either eclipse or android studio. docs arcane , whatever try, proguard obfuscated apk blows. questions regarding proguard don't attention on forum.
standard android apk files designed invite reverse engineering , i'm looking ways protect code. not code methods.
before started writing android apps, wrote apps in c , in c# , i'm familiar both of languages , prefer either of them java i've been reading ndk.
of course ndk speed i'm wondering if protect code against reverse engineering , inspection hackers. understand "compiled" code imagine source code not visible.
am barking right tree?
thanks,
dean
this depends on kind of protection looking for. if revolutionary algorithm allow popular task much faster takes today, code reverse engineered, no matter how obfuscate it; need patent protection. if want hide unfriendly behavior (like spying on users), discovered. don't it. if want protect protocol of client-server communication, may subject easy attack elsewhere.
but in cases going c++ help; may easier distribute monolithic shared library "black box" deal java api. don't think obfuscation can work on code sell library.
when selling huge communication sdk, followed approach, , our java code open customers (part intended changed/customized, classes carried warning in header "please don't modify class, there high chance product not work if mess it".
Comments
Post a Comment