pfillion Member Licensed User Longtime User Nov 13, 2013 #1 Hi, I read that any string in "Process_Globals sub" will be obfuscated. Which makes it the best place to store an encryption key... like the BillingManager key... My question is will B4A also obfuscate strings in "Class_Globals sub" ?
Hi, I read that any string in "Process_Globals sub" will be obfuscated. Which makes it the best place to store an encryption key... like the BillingManager key... My question is will B4A also obfuscate strings in "Class_Globals sub" ?
Erel B4X founder Staff member Licensed User Longtime User Nov 14, 2013 #2 No. For now only Process_Global strings are obfuscated. Upvote 0
pfillion Member Licensed User Longtime User Nov 14, 2013 #3 OK, so no mater if the Process_Global variable is in an Activity or a Code Module they will both be obfuscated? Just to make sure because I don't want my encryption key to be discovered by mistake... Upvote 0
OK, so no mater if the Process_Global variable is in an Activity or a Code Module they will both be obfuscated? Just to make sure because I don't want my encryption key to be discovered by mistake...
Erel B4X founder Staff member Licensed User Longtime User Nov 15, 2013 #4 Yes. Note that you can see it by opening the generated Java source code. You will see something like: _vvvv4 = BA.__b (new byte[] {90,35,-97,-51,102,118}, 905245); The string will appear in the comments but the comments are removed during compilation. Upvote 0
Yes. Note that you can see it by opening the generated Java source code. You will see something like: _vvvv4 = BA.__b (new byte[] {90,35,-97,-51,102,118}, 905245); The string will appear in the comments but the comments are removed during compilation.