I'd like to encrypt an NSString so that it isn't human-readable. The level of security doesnt manner (in other words, if somebody were to decrypt the text there wouldn't be any sensitive information for them to steal.
NSString *myTextToEncrypt = @"Hello World!";
[myTextToEncrypt encrypt];
// myTextToEncrypt is now something unreadable, like '2rwzdn1405'
Then I should be able to unencrypt this string
[myTextToEncrypt unencrypt]; // myTextToEncrypt should now be @"Hello World!" again
How do I do this? I've read some about CommonCrypto and AES Encryption but this all seems like overkill for what I'm trying to do (the encryption methods I've read are all for passwords or other sensitive pieces of data)