Re: Obscuring an NSString
Re: Obscuring an NSString
- Subject: Re: Obscuring an NSString
- From: Ricky Sharp <email@hidden>
- Date: Sun, 5 Dec 2010 17:02:26 -0600
On Dec 5, 2010, at 4:31 PM, Adam Gerson wrote:
> Thanks to all who responded. Let me explain my situation a little
> better. I am storing several string values into an XML file. I want to
> obscure one of them. When I encrpyt the NSString to an NSdata I can
> store the data as a string in XML, however when I read the string back
> in I dont know how to convert it back to NSData to decrypt.
input string (NSString) --> UTF-8 representation (NSData) --> optional "encryption" such as XOR --> hex string (NSString)
this is fully reversible of course.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
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