I'm working on an app that will have in-app purchases that grant access to a text file already in the app bundle.
How do you encrypt the file before putting it in the app? And how do you decrypt it with Swift?
I've seen a few articles in SO about the decryption part, but they don't really say how to encrypt them to begin with.