I am working on an application for which I wish to store credentials. I do not want to store plain text passwords or even md5 hash to be compared in server for security reasons, so I was wondering if anybody has figured a way to use the Keychain API or who has figured another way to store credentials on the iPhone. Any help is appreciated.
I've also published a Keychain module that I'm using in my applications. The repository contains an Android version, but it has not be extensively tested nor is it totally secure as it uses SharedPreferences instead of an encrypted store. The iOS version is based on the keychain example code from Apple.
Ruben's KeyChain module is now available on the Titanium Marketplace here, and I'd recommend using his commercial version if you need support or have special licensing considerations.
I had the same problem and ended up writing a Titanium Module for accessing the iOS Keychain. It's available here, and I'm using it on one iOS application in production. Check it out!
Again, full disclosure: I'm the autor of the module.
Think you can help? Login to answer this question!