Advanced Encryption Standard
Advanced Encryption Standard
That means it takes 128 bits as input and outputs 128 bits of
encrypted cipher text as output. AES relies on substitution-
permutation network principle which means it is performed using a
series of linked operations which involves replacing and shuffling of
the input data.
Working of the cipher :
AES performs operations on bytes of data rather than in bits. Since
the block size is 128 bits, the cipher processes 128 bits (or 16 bytes)
of the input data at a time.
Operation of AES
Encryption Process
• MixColumns
The 16 bytes of the matrix are now considered as 128 bits and are
XORed to the 128 bits of the round key. If this is the last round then
the output is the ciphertext. Otherwise, the resulting 128 bits are
interpreted as 16 bytes and we begin another similar round.
• Key Expansion Algorithm. The AES key expansion
algorithm takes as input a four-word (16-byte) key and
produces a linear array of 44 words (176 bytes). This is
sufficient to provide a four-word round key for the initial
AddRoundKey stage and each of the 10 rounds of the
cipher. The pseudocode on the next page describes the
expansion. The key is copied into the first four words of
the expanded key.