Skip to main content
Challenges RSA: common modulus
Cryptography Medium RSA — one modulus, two exponents Solves: 11

RSA: common modulus

Author: CyberSamSU
Points
60

Two departments received the same secret message. The administrator was lazy and used a single RSA modulus n for both departments, only making the public exponents different: e1 and e2.

The record intercepted from the network (rsa-intercept.txt) provides n, e1, c1, e2, c2 — the modulus and ciphertexts are in hexadecimal (hex) format. Here c1 = me1 mod n and c2 = me2 mod n, while m is one and the same message (the flag).

Recover m without finding the private key (private exponent). The flag is in the format BAYROQ{...}.

Attached files
rsa-intercept.txt Log in to download
Hints 3
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −6 pts Log in
Hint 2 −12 pts Log in
Hint 3 −18 pts Log in
To submit a flag, log in.

First solvers

1. testrejim 09.10.2026
2. Mirjaxon Qaxxarov 27.10.2026
3. Odam 05.11.2026
4. arcanum 11.11.2026
5. gulrabo_1003 12.11.2026
6. Doston Allayarov 12.11.2026
7. murad_coder 13.11.2026
8. rushana24 18.11.2026
9. Xadicha_7 18.11.2026
10. Komilovna 19.11.2026