Skip to main content
Challenges Hastad broadcast attack
Cryptography Hard Small exponent Solves: 8

Hastad broadcast attack

Author: CyberSamSU
Points
90

This time e = 3, but the message is long — m³ is larger than each modulus, so a simple cube root will not work. However, a single message was sent to three different receivers, meaning we have three moduli and three ciphertexts.

Hastad's attack (1985) relies on the Chinese Remainder Theorem (CRT). We have three equations: x ≡ ci (mod ni), where x = m³. Since the moduli are pairwise coprime, CRT gives a unique solution — m³ mod (n1n2n3).

The main trick: since m < ni, m³ < n1n2n3. Therefore, the CRT result is the unreduced m³ itself. Now if we take the integer cube root — the message is ready.

The three public keys and three ciphertexts are in the uzatish.txt file: n1, n2, n3, e, c1, c2, c3. The recovered bytes directly give the flag.

General rule: if there are e or more receivers, the identical unpadded message can always be decrypted.

Attached files
uzatish.txt Log in to download
SHA-256 checksums
uzatish.txt: 5d4664941d786d403197dae59dd06a6f6cd9a462697e23e1ceec6d9938131f30
Hints 3
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −9 pts Log in
Hint 2 −18 pts Log in
Hint 3 −27 pts Log in
To submit a flag, log in.

First solvers

1. W.o.X 17.09.2026
2. Лазиз 04.10.2026
3. testrejim 09.10.2026
4. 11111tttt 09.10.2026
5. Mirjaxon Qaxxarov 26.10.2026
6. Odam 04.11.2026
7. arcanum 11.11.2026
8. Doston Allayarov 28.11.2026