Path: blob/master/RSA-encryption/Attack-Wiener-variant/README.md
1402 views
A variant of Wiener's Attack on RSA
Prerequisites:
As we know that Wiener's Attack works in case where d < N1/4. This attack works in the scenario when d is a few bits greater than N1/4.
The Attack
The attack says that in case d
is a few bits greater than N1/4 candidates for private key exponent are of the form , where
and
is
(m+1)
th and (m)
th convergent of continued fraction of e/n
. We can apply this to our exploit as follows:
The exploit script here. You can also read this paper here that discusses variant of Wiener's Attack in detail.