the Reverend
the Reverend

Reputation: 12559

Core Data SQLite encryption?

Has anyone used encryption on their Core Data SQLite stores? And how did you implement it?

Upvotes: 1

Views: 1023

Answers (2)

ndman
ndman

Reputation: 153

I'm beginning including this wonderful project:

https://github.com/project-imas/encrypted-core-data

On my code, all things goes well. I have a strange problem only using NSPredicate to create a search query in related fields.

Upvotes: 2

TechZen
TechZen

Reputation: 64428

I'm pretty sure the only way to use encryption in Core Data is to either encrypt the entire persistent store file when the app quits or to use custom accessors in managed object subclasses to encrypt and decrypt data as they are individually saved to the persistent store.

Upvotes: 2

Related Questions