Skip to main content
Back to challenges

Cryptography · Programming

RSA Weak Prime Attack

Advanced · 4/5
Paid planSpecialist rank required100 points on first solo solve

Challenge brief

The RSA key was generated with small primes. Factor n, compute the private key d, and decrypt c to find the flag (as ASCII).

  • n = 3233 (public modulus)
  • e = 17 (public exponent)
  • c = 2790 (ciphertext)

Output: Print the decrypted plaintext as a decimal integer.

Solo practice

Sign in to submit an answer and save your progress.

Sign in to practice