MixColumns
MixColumns is a transformation used in the Advanced Encryption Standard (AES) as part of the encryption and decryption rounds. It operates on the 4x4 byte state by treating each column as a vector of four bytes and applying the same linear transformation to every column, which spreads information within a column to achieve diffusion.
In encryption, each column of the state is multiplied by a fixed 4x4 matrix over the finite
Here 02, 03, 01, and similar entries are elements of GF(2^8). Multiplication by 02 corresponds to a
For decryption, the inverse transformation uses the inverse matrix:
(14, 11, 13, 9 are hexadecimal 0e, 0b, 0d, 09, respectively). InvMixColumns is applied in the decryption
MixColumns is designed to be linear and invertible, and its computation can be performed independently on