Skip to main content
Presentation 10 of 16

RSA Cryptanalysis: Factoring, Small Exponent and Timing Attacks

Three ways to break RSA — attacking the mathematics, the protocol and the device. Most real-world breaks happen in the last group.

Slides: 23 PDF · 972 KB
Loading slides…

Keyboard: Left arrow Right arrow Slides; F — fullscreen

Summary

The lecture splits attacks on RSA into three layers: mathematical (trial division, Fermat, Pollard ρ and p−1, GNFS and factoring records), protocol-level (small exponent e and Håstad broadcast, Wiener and Boneh–Durfee, common modulus) and implementation attacks (Kocher timing attack, SPA/DPA, EM and acoustic channels, Bellcore fault attack). Each attack is matched to its countermeasure (OAEP, safe primes, large |p−q|, d > n^0.5, unique modulus, blinding, constant-time code) in one matrix, followed by Shor's algorithm and the quantum threat, and Python implementations of the Fermat and Wiener attacks.

Key terms

faktorlash Ferma Pollard ρ Pollard p−1 GNFS e=3 Håstad Wiener umumiy modul timing SPA/DPA Shor

Lecture outline

  1. Attack taxonomy — three layers
  2. The factoring problem and its complexity
  3. Fermat, Pollard ρ and Pollard p−1 methods
  4. GNFS and the history of factoring records
  5. Small public exponent and the Håstad broadcast attack
  6. The Wiener attack and the common-modulus attack
  7. Timing and side-channel attacks
  8. Countermeasure matrix
  9. Shor's algorithm, Python and conclusions
Related lesson Asymmetric Cryptography: RSA, Diffie-Hellman & ECC