Thanks Kyle. Here is the finished working code for anyone else who
stumbles onto this thread. It uses an NSData category found here:
http://cocoawithlove.com/2009/06/base64-encoding-options-on-mac-and.html
- (NSString *)base64Encode:(NSString *)plainText
{
NSLog(@"%@",plainText);
On Dec 5, 2010, at 2: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, ho
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, ho
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 c
On 2 Dec 2010, at 7:30 AM, Adam Gerson wrote:
> 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 not understandable by an average person. I need to be able to
> read the value back in from the file
On 03/12/2010, at 12:30 AM, Adam Gerson wrote:
> 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 not understandable by an average person. I need to be able to
> read the value back in from the fi
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.
>
>
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
__
On Thu, Dec 2, 2010 at 5:30 AM, Adam Gerson wrote:
> 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 not understandable by an average person. I need to be able to
> read the value back in from the
Try the open source SSCrypto.framework. It is a Cocoa wrapper around
OpenSSL encryption and decryption. It works well.
http://septicus.com/products/opensource/
--Richard Somers
On Dec 2, 2010, at 6:30 AM, Adam Gerson wrote:
I am writing an NSString to a file and I would like to obscure it in
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
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
12 matches
Mail list logo