IT lexicon › Security › Wiener's attack

Wiener's attack

Security På svenska → Updated: 2026-10-13

A cryptanalytic attack that recovers an RSA private key when the private exponent is too small, using continued fractions.

In 1990 Michael Wiener showed that RSA falls apart if the private exponent d is smaller than roughly a third of the fourth root of the modulus. Then d can be recovered from the public key by expanding e/N as a continued fraction. No guessing of secrets is needed, and for realistic key sizes the computation takes milliseconds.

The lesson is that a small d can look like an efficient key, and it is a trap. Standard parameters keep both e and d large, so the attack is mostly a textbook exercise now. The name occasionally causes confusion with Norbert Wiener, the mathematician and cyberneticist, who had nothing to do with it.

← Back to the lexicon