Re: Obscuring an NSString (Adam Gerson)

2010-12-02 Thread jonat...@mugginsoft.com
On 2 Dec 2010, at 20:37, Kyle Sluder wrote: > On Thu, Dec 2, 2010 at 9:49 AM, jonat...@mugginsoft.com > wrote: >> Converting the string to an NSData rep and dumping out as a property list >> will encode the NSData as base-64 > > This is an implementation detail. You shouldn't rely on it. > >

Re: Obscuring an NSString (Adam Gerson)

2010-12-02 Thread Kyle Sluder
On Thu, Dec 2, 2010 at 9:49 AM, jonat...@mugginsoft.com wrote: > Converting the string to an NSData rep and dumping out as a property list > will encode the NSData as base-64 This is an implementation detail. You shouldn't rely on it. --Kyle Sluder __

Re: Obscuring an NSString (Adam Gerson)

2010-12-02 Thread jonat...@mugginsoft.com
On 2 Dec 2010, at 17:32, Kirk Kerekes wrote: > If you convert the NSString into an NSData,(dataUsingEncoding:) and then > Base64 encode it into an NSString, doesn't that get you what you want? > Converting the string to an NSData rep and dumping out as a property list will encode the NSData

RE: Obscuring an NSString (Adam Gerson)

2010-12-02 Thread Kirk Kerekes
If you convert the NSString into an NSData,(dataUsingEncoding:) and then Base64 encode it into an NSString, doesn't that get you what you want? > I am writing an NSString to a file and I would like to obscure it in a > two way reversible fashion. It doesn't have to be major hacker proof, > just