Continued fractions and breaking RSA
summary
Uses continued fractions to recover a small RSA private exponent via the Venus attack, taking convergents of e/N and testing candidates by algebraically solving for p and q or by encrypt/decrypt checks. Demonstrates a Python script that recovers a d = 300-bit private exponent from a 4,000-bit modulus RSA key in about 52 seconds, proving small d values are completely insecure when Wieners-style conditions hold.
AI-written summary · about
