Skip to main content
Challenges Known plaintext
Cryptography Medium Known-plaintext attack Solves: 6

Known plaintext

Author: CyberSamSU
Points
35

A known-plaintext attack is a situation where we have the ciphertext along with the original form of a part of it. For XOR, this is fatal, because ochiq_matn ^ shifrmatn = kalit.

The letter always starts with the same greeting. We know that the first 25 characters of the message are exactly this:

Hurmatli talaba, quyidagi

Ciphertext (hex):

25141919001601084b00000e0c030a5841131818021000050441131503031f41
181d1b050c410615191118124b00001b140e1918000c090845542a0301081f54
100b1e100a5417034d031e00140c4d0c0a000f420f0e4c0d0d030f411f150a10
021307150f03090845542303141304055b422f2032262e3316395b263e0f590d
1e193e520e095a053e0f5915052b0a170e095a09412d00000f55

When you XOR the known part, you get not the key itself, but the repeating keystream. By looking at it, you will immediately notice the key length.

Hints 3
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −3 pts Log in
Hint 2 −7 pts Log in
Hint 3 −10 pts Log in
To submit a flag, log in.

First solvers

1. Абдул 08.09.2026
2. Лазиз 04.10.2026
3. Mirjaxon Qaxxarov 26.10.2026
4. Odam 05.11.2026
5. arcanum 11.11.2026
6. Jasmin Xuseinova 15.11.2026