Using NSValueTransformer for encryption
Using NSValueTransformer for encryption
- Subject: Using NSValueTransformer for encryption
- From: "Michael Varlik" <email@hidden>
- Date: Thu, 10 Jan 2008 09:32:02 +0100
Hi,
I need to include encryption in my Core Data application. Consider
the following example: If I'd use the XML Store, I would encrypt
only the values, not the whole XML file. For encryption/decryption
I want to use a NSValueTransformer to perform the encryption/decryption
if it's needed. It can take the encrypted value from the store, decrypt
it and deliver the decrypted value to the UI (and vice versa). Do
you think it will be possible to perform encryption/decryption this
way? In the data model the values that will be encrypted would have been of type "binary" on order to keep the encrypted values, haven't they?
I belive, that an advantage of this solution would be that there won't be any decrypted values in the memory footprint of the application as long as there are any values displayed. (I think you have to manually set the values of UI elements displaying the decrypted values after closing the window which contains these elements).
Please, tell me what you think about this. Many thanks in advance.
Michael
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger?did=10
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden