I'm a iOS developer. I have a database file which is encrypted with RNCryptor.
My purpose is when app enter background, my database file will be encrypted, and when app back to foreground or active, my database file will be decrypted.
So, how to check if file is encrypted with RNCryptor or not ? (to avoid duplicate decrypting, encrypting)