I am writing an application which reads information from am xml plist in the bundle upon startup. The information in the plist has been compiled through many days of work and I would like to ensure that it cannot be extracted easily from the app bundle by another party after distribution. Is there any way to secure or encrypt xml plists that one includes within your app bundle?
Any help would be greatly appreciated please.
There is no built-in encryption function in plist. Many people treats the compression as encryption.
Here is what I would do,
SecKeyEncrypt()
.SecKeyDecrypt()
using the key and store the cleartext in memory. This is still considered obfuscating because key is available in your bundle but it will be hard enough to deter most casual hackers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With