I need to encrypt and decrypt NSStrings. It doesn’t have to be secure (at all!) just unreadable to an average user. Something as simple as a shift cipher would work alright, but I would like an algorithm slightly less obvious to the user.
Is there something built in to the iOS sdk that does this already? Maybe RSA encryption? Or a simple to code algorithm that wouldn’t look like a one to one character exchange?
Thank you!
How about Base64.
It’s completely non-secure, and although unreadable it will be a fairly obvious encoding scheme for anyone remotely knowledgeable in IT.
Implementation details : How do I do base64 encoding on iphone-sdk?