video

Computerphile: How AES Encryption Works

by Mike Pound

Cryptography fundamentals explained by Nottingham University computer scientists.

Why it’s worth your time

Mike Pound, a computer scientist at the University of Nottingham, walks through the Advanced Encryption Standard, the cipher used everywhere from web browsing to disk encryption. With pen and paper, he shows how AES lays out each 16-byte block as a 4×4 grid and runs it through rounds of byte substitution, row shifting, column mixing and adding the key — 10, 12 or 14 rounds depending on the key length — and why doing the arithmetic in a finite field keeps every value a single byte.

It follows two earlier videos, on substitution–permutation networks and on how AES was chosen, and watching the first helps. The animation of the column-mixing step has its matrices in the wrong order, as the description admits, but the explanation is sound. Pound ends with a practical point: AES itself has held up, but careless implementations have leaked keys through timing attacks, one reason modern processors now have AES built in.

Where to start

  1. Almost All Web Encryption Works Like This (SP Networks) - Computerphile

    The building block AES is made from; watch this first.

  2. One Encryption Standard to Rule Them All! - Computerphile

    Where AES came from: the Rijndael algorithm and the competition it won.

  3. The Code Book

    Simon Singh's history of cryptography, for the story before AES.

About Mike Pound

Mike Pound is an associate professor of computer science at the University of Nottingham who works on computer vision and bioimage analysis, including tools for measuring plant roots. He is one of Computerphile's most frequent presenters, on security, cryptography and machine learning.

Everything by Mike Pound

About this channel

Videos about computers & computer stuff. Supported by Jane Street - https://jane-st.co/computerphile Sister channel of Numberphile.

Joined April 2009911 videos

Related

Related dispatches

All dispatches