AES for iOS Developers, Using Swift

It isn’t hard to crack (JOKE)

Steven Curtis
5 min readFeb 13, 2023
Photo by Michelangelo Amoruso Manzari on Unsplash

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:

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.

What is AES?

--

--