I was going to store a password in my Cocoa application in the NSUserDefaults
but then I realized that it is stored in plain text.
How do you store password credentials for Cocoa applications?
Passwords should be stored in the Keychain. You should probably look at the Keychain Services Programming Guide to begin with. The Keychain exists on both iOS and OS X platforms.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With