Skip to main content
Challenges RSA: close prime numbers
Cryptography Hard RSA — close prime numbers (Fermat factorization) Solves: 10

RSA: close prime numbers

Author: CyberSamSU
Points
100

The RSA public key (n, e=65537) and the ciphertext (c) are given in rsa.txt (n and c are hexadecimal). Because the key was generated hastily, both prime numbers are very close to each other.

Factor the modulus and decrypt the message (flag). Format: BAYROQ{...}.

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

First solvers

1. testrejim 09.10.2026
2. 11111tttt 09.10.2026
3. Mirjaxon Qaxxarov 26.10.2026
4. anonym 29.10.2026
5. Odam 04.11.2026
6. Furqat Turayev 09.11.2026
7. arcanum 11.11.2026
8. pentester_uz 12.11.2026
9. Xadicha_7 18.11.2026
10. Komilovna 19.11.2026