cryptography
Crypto / Attacking Vulnerable RSA Keys with Small Prime Differences
·
1 min read
“Applying Fermat factorization algorithms and Wiener attacks to recover private exponents from misconfigured cryptography challenges.”
When prime factors p and q are chosen too close together, standard 2048-bit RSA can be factored in sub-second CPU time using Fermat factorization. We walk through the mathematical proof and custom Python exploit script...