Interested in technology also app/web development. Trying to create something in Swift. Newbie in Medium and hoping You’ll like my work.
…ly complicated and overkill, so in this article, we will use the help of an open source iOS Library CryptoSwift.
…ictionary part kSecClass:kSecClassGenericPassword indicates that the item is a password, from which keychain services understands that the data requires encryption.
You should always keep in mind one thing when saving data on iOS apps, UserDefaults is designed only to save a small amount of data like preferences of a user inside the app, stuff that is completely insensitive.