Member-only story
AES for iOS Developers, Using Swift
It isn’t hard to crack (JOKE)
AES (Advanced Encryption Standard) is a symmetric encryption algorithm, and one that is fairly easy to use for iOS developers.
Apple use AES-256* which is considered to be a strong encryption standard, and this article seeks to demystify the standard and go into how it might be used as an iOS developer.
Difficulty: Beginner | Easy | Normal | Challenging
This article has been developed using Xcode 14.2, and Swift 5.7.2
*Depending on your device
Prerequisites:
- You will be expected to be aware how to make a Single View Application in Swift, or the basic use of Playgrounds
Terminology
AES (Advanced Encryption Standard): is a widely-used symmetric encryption algorithm that provides strong encryption for data protection.
AES-GCM (Advanced Encryption Standard Galois/Counter Mode): is a mode of operation for the AES encryption algorithm. It is a combination of the Galois mode of operation and the Counter mode, which provides both confidentiality and authenticity for the encrypted data.