Course contentsShow
← Computer Science
Lesson 2401 of 2,87254. Cryptography FundamentalsFree lesson

AES: The Advanced Encryption Standard

Learn the modern symmetric standard with 128/192/256-bit keys and its substitution-permutation network.

AES: The Advanced Encryption Standard

What you'll learn: How AES became the modern replacement for DES using a substitution-permutation network with flexible key sizes.

Why AES Replaced DES

After DES proved vulnerable to brute-force attacks due to its 56-bit key, the cryptographic community needed a stronger standard. In 2001, the U.S. government adopted AES (Advanced Encryption Standard) as the official successor—a symmetric block cipher designed to encrypt 128-bit blocks with keys of 128, 192, or 256 bits.

The Substitution-Permutation Network

Unlike DES's Feistel structure, AES uses a substitution-permutation network (SPN). Think of it like shuffling a deck of cards through multiple rounds:

  1. Substitution (SubBytes): Replace each byte using a fixed lookup table (like Caesar cipher on steroids)
  2. Permutation (ShiftRows): Shift rows of the data block in different amounts
  3. Mixing (MixColumns): Mathematically combine columns to spread changes throughout the block
  4. Key Addition (AddRoundKey): XOR the block with a portion of the expanded key

These four operations repeat for 10, 12, or 14 rounds depending on key size (128, 192, or 256 bits respectively). Each round transforms the data so thoroughly that changing one input bit affects roughly half the output bits—the "avalanche effect."

Why It Matters

AES is everywhere today: encrypting your Wi-Fi, securing your HTTPS connections, protecting files on disk. Its larger key sizes (especially 256-bit) make brute-force attacks computationally infeasible with current technology—trying all 2^256 possible keys would take longer than the age of the universe.

Key Takeaway: AES is the modern symmetric encryption standard using a substitution-permutation network with 128/192/256-bit keys, offering strong security through multiple rounds of substitution, permutation, mixing, and key addition operations.