AES Structure: Rounds & State Matrix
Walk through SubBytes, ShiftRows, MixColumns, and AddRoundKey.
Welcome
AES is a Substitution-Permutation Network operating on a 4×4 matrix of bytes called the State. Each round applies four operations to transform the state.
The State Matrix
AES loads 16 bytes of plaintext into a 4×4 grid called the State:
[b0 b4 b8 b12]
[b1 b5 b9 b13]
[b2 b6 b10 b14]
[b3 b7 b11 b15]
All operations transform this matrix.
All lessons in this course
- Symmetric Encryption Concepts
- AES Structure: Rounds & State Matrix
- AES Key Expansion & Key Sizes
- Encrypting Files with AES in Practice