How to use the RSA CTF Solver
RSA is a CTF crypto staple. This solver tries known p/q/d, small-exponent roots, trial division, Fermat factorization for close primes, Wiener's attack for small d and Pollard's rho, then computes d and shows the plaintext with long_to_bytes.
- Enter n, e and c in decimal or 0x-prefixed hex.
- Add p, q or d if you already know them, then click Solve.
- Read the steps and plaintext. If n can't be factored, look it up on factordb and fill in p and q.