AES: frequently asked questions
Short answers to the most common doubts about AES, key length, security and quantum computers.
Is AES-128 still secure?
Yes. There are no practical attacks on AES-128 used correctly. AES-256 offers a larger margin, recommended for data that must be protected for a long time.
Why does AES-256 have 14 rounds and AES-128 only 10?
Longer keys need more rounds to spread the influence of all the key bits properly and keep adequate security margins.
Are AES and Rijndael the same thing?
Almost. AES is a subset of Rijndael: it fixes the block size at 128 bits, whereas Rijndael also allowed others.
Will quantum computers break AES?
According to current knowledge, no: they would reduce the security margin, but AES-256 would remain adequate.
If I use AES, am I safe?
Only if everything else is right: mode, key management, authentication, implementation. Most incidents start there, not with the algorithm.
What is the difference between AES and RSA?
AES is symmetric and fast, suited to encrypting large amounts of data. RSA is asymmetric and slow, used to exchange keys and sign. In practice they work together.
The pages of this topic
Back to the overviewAES: how it works
The 16-byte state, the four steps of each round — SubBytes, ShiftRows, MixColumns, AddRoundKey — and the role of modes of operation.
AES: history
From the decline of DES to the NIST competition, from Rijndael’s victory to the publication of the FIPS 197 standard.
AES: the maths
The finite field with 256 elements, the construction of the S-box and the MixColumns calculation: the mathematics that makes AES robust.
AES: worked example
The official FIPS 197 test vector for AES-128 and how to use it to check an implementation.
AES: weaknesses and attacks
Theoretical attacks, side channels, misuse of modes and quantum computers: what really threatens AES.
AES today
Where AES is used every day — web, Wi-Fi, disks, messages, archives — and why it is considered adequate for the future too.
AES: pitfalls to avoid
The most common mistakes made by those who use AES in their own programs: wrong modes, weak keys, repeated vectors, lack of authentication.