Hello,

I'm just beginning to learn Cocoa programming and I'm having some trouble figuring out how to encrypt a persistent data store transparently. I'm trying to write a Core Data (not document based) application and it needs to store the data in a file encrypted with AES.

I found out about CDSA which I'm planning on using for the actual encryption and decryption of the data but I haven't the slightest idea how to find out what methods my subclass needs to override. I was thinking placing the encryption between archiving the data and actually writing it to the disk but I'm not quite sure how to do that.

Some kind of sample code would be much appreciated along with maybe some advice/info for how to find this kind of information on my own as I don't particularly like bothering people with simple questions on mailing lists but I've exhausted every other resource readily available. I've look at the NSPersistentStore, NSPersistantStoreCoordinator class references, the Core Data Programming Guide and the Low-Level Core Data Tutorial along with searching the mailing lists with no luck finding what I need.

Thanks,
Chris Benedict
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to