Skip to content

Build AES from Scratch

Implement the AES block cipher from raw bit operations: state matrix, GF(2^8) arithmetic, the S-box, ShiftRows, MixColumns, key schedule, and full 10-round encryption. Then add modes of operation (ECB, CBC, CTR, GCM). The cipher behind TLS, WPA2, and disk encryption.

advancedFree3 hours12 lessons
Start learningor sign up to track progress

Curriculum

Loading reference solution…
Build AES from Scratch