Reputation: 93
I mean if I write something in the code:
NSString *myKey = @"this is my private key";
Will someone be able to trace back the string "this is my private key"
from the IPA?
I ask this for the encryption in iPhone.
If I store my encrypt key in the code, is it already safe? or how should I do it?
Upvotes: 9
Views: 2007
Reputation: 73966
Yes, it's likely. An IPA is just a zip file. You can extract it to get the application binary. You can usually run strings
over an application binary to see string literals.
Upvotes: 14