String obfuscation

thedesolatesoul

Expert
Licensed User
Longtime User
Is it possible to add some kind of string encode/decode into the compiler so that when we do:
Msgbox("This is not supported in the free version","ProjectX")
The 'guys' wont know 'where' and 'what' the check is. This kind of messagebox is a bit of a giveaway as they appear 'as is' in smali.
It could possible compile to:
Msgbox(vvvv5("Blurg234sdfs",vvv5("po3F$")))

Also, any idea about library obfuscation? I'm not sure is the licensing library for e.g. obfuscated? Although I dont think this will help a lot.

Ofcourse this isnt the complete solution, only a minor hindrance. A better solution will be to make the 'check' part of the app logic, yet at some point you do want to make the user aware that they can upgrade to the 'full' version.
 

Roger Garstang

Well-Known Member
Licensed User
Longtime User
Why not design one yourself and use it when/where needed. Even a Simple XOR "Encryption" or char shift will help out. With all the char encodings lately though you do have to watch what value you use so chars don't get translated and stored that could cause issues, but it can be done and is very simple. There is even some Byte handling and Encryption libraries here to do even more.
 

thedesolatesoul

Expert
Licensed User
Longtime User
Cookies are required to use this site. You must accept them to continue using the site. Learn more…