1

I am pretty sure Core Data does not have any encryption/decryption features. Is there a tutorial that shows how to "manually" encrypt/decrypt data in Core Data?

2

1 Answer 1

3

Core Data has a binary attribute type that takes instances of NSData. Could you encrypt a file, put the encrypted data into an NSData object, and store it that way?

Sign up to request clarification or add additional context in comments.

1 Comment

I presume that your concerned with securing user data. That being the case, consider secure removal of the encrypted file (zeroing file data, then deleting): stackoverflow.com/questions/7547517/…

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.