The Advanced Encryption Standard (AES) Encryption
The Advanced Encryption Standard (AES) Encryption
Encryption Standard
(AES) Encryption
Technique
By Dr. Dipanwita Sadhukhan
HISTORY
• All cryptographic algorithms we have looked at so far have some problems.
• The earlier ciphers can easily be broken on modern computation systems.
• The DES algorithm was broken in 1998 using a system that costs about
$250,000.
• Triple DES turned out to be too slow for efficiency as the DES algorithm was
developed for mid-1970s hardware and does not produce efficient software code.
• On the other hand, Triple DES has three times as many rounds as DES and is
correspondingly slower.
• After all these investigations NIST finally chose an algorithm known as Rijndael.
• Rijndael was named after the two Belgian cryptographers who developed and submitted it - Dr. Joan
Daemen and Dr. Vincent Rijmen.
• On 26 November 2001, AES (which is a standardized version of Rijndael) became a FIPS standard
(FIPS 197).
AES CONTEST
• MARS: A block cipher developed by IBM Research.
• RC6: A block cipher created by RSA Security.
• Rijndael: Developed by Belgian cryptographers Joan Daemen and Vincent
Rijmen.
• Serpent: Created by Ross Anderson, Eli Biham, and Lars Knudsen.
• Twofish: Built by Counterpane Internet Security.
FEATURES OF AES
• Symmetric block cipher with a block length of 128 bits.
• The AES standard states that the algorithm can only accept a block size of 128 bits and a choice of three keys
- 128, 192, or 256 bits.
• Depending on which version is used, the name of the standard is modified to AES-128, AES-192, or AES-256
respectively.
• AES differs from DES in that it is not a Feistel structure.
• Recall that in a Feistel structure, half of the data block is used to modify the other half of the data block and
then the halves are swapped.
• In this case the entire data block is processed in parallel during each round using substitutions and
permutations.
• Some AES parameters depend on the key length. For example, if the key size used is 128 then the number of
rounds is 10 whereas it is 12 and 14 for 192 and 256 bits respectively.
• At present the most common key size likely to be used is the 128-bit key.
PARAMETERS OF AES
AES
STRUCTURE
AES STRUCTURE
• The input is a single 128-bit block both for decryption and
encryption and is known as the input matrix.
• This block is copied into a state array which is modified at each
stage of the algorithm and then copied to an output matrix.
• Both the plaintext and key are depicted as a 128-bit square matrix
(4x4)of bytes.
• This key is then expanded into an array of key schedule words (the
w matrix).
• Ordering of bytes within the in matrix is by column. The same
applies to the w matrix.
HIGH-LEVEL DESCRIPTION OF r-
ROUND AES
1. Given a plaintext X, initialize state to be X and perform an operation Add
round key, which XOR the round key with the state.