Skip to main content
Challenges One full AES round
Cryptography Hard AES internal structure Solves: 6

One full AES round

Author: CyberSamSU
Points
85

Now let's combine all the parts. AES-128 has 10 rounds, and each (full) round works in the following order:

  1. AddRoundKey — XORing the state with the round key
  2. SubBytes — substitution via S-box
  3. ShiftRows — shifting rows
  4. MixColumns — mixing columns
  5. AddRoundKey — XOR with the next round key

For decryption, all steps are performed in reverse order and with inverse operations. Each step individually is easily reversed — the strength of AES lies in the 10 times repetition of these steps.

We have only one round. The attached raund.py file fully provides the forward direction (you can run it to check your own code).

Round keys:

k0 = 8884c3cfc8d1725a8cf59654f5d659c7
k1 = 877e985cacb1bac93f756f24db623d52

Result after one round (hex):

1fc8652c216ebb53719ecff2078cc98f

Recover the original 16 bytes (readable ASCII text) and assemble the flag:

BAYROQ{A3S_<16 belgi>}

Reverse order: AddRoundKey(k1) -> InvMixColumns -> InvShiftRows -> InvSubBytes -> AddRoundKey(k0). AddRoundKey is its own inverse, because it is simply XOR.

Attached files
raund.py Log in to download
SHA-256 checksums
raund.py: 0086a9cb29a2c9be686b971dac80039469ea52529fddf62d44c41993a5ce930f
Hints 3
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −8 pts Log in
Hint 2 −17 pts Log in
Hint 3 −25 pts Log in
To submit a flag, log in.

First solvers

1. W.o.X 11.09.2026
2. Лазиз 04.10.2026
3. testrejim 09.10.2026
4. Mirjaxon Qaxxarov 27.10.2026
5. Odam 04.11.2026
6. arcanum 11.11.2026