Challenges
AES state matrix
Cryptography
Easy
AES internal structure
Solves: 8
AES state matrix
Author: CyberSamSU
Points
15
AES operates on a 16-byte block and stores these 16 bytes in the form of a 4x4 matrix. This matrix is called the state (state).
The place where mistakes are made most often is the filling order. The bytes are placed by columns: the first 4 bytes fill the 1st column, the next 4 bytes fill the 2nd column, and so on. That is holat[qator][ustun] = blok[4*ustun + qator].
The flag is divided into two state matrices. The first matrix:
66 79 51 111
65 81 83 108
89 123 95 97
82 65 104 116
The second matrix:
95 114 97 52
109 105 115 120
97 116 105 52
116 115 95 125
Read both in the correct order and assemble the flag.
If you read by rows, the letters will be mixed up — this will show you that you have chosen the wrong order.
To submit a flag, log in.