Re: Performance of RSA key generation
- From: pgut001@xxxxxxxxxxxxxxxxx (Peter Gutmann)
- Date: 29 Jan 2009 10:24:40 GMT
"Joseph Ashwood" <ashwood@xxxxxxx> writes:
"Paul Rubin" <http://phr.cx@xxxxxxxxxxxxxx> wrote in message
news:7xmyddw4cn.fsf@xxxxxxxxxxxxxxxxxxxxxx
Ertugrul Söylemez <es@xxxxxxxx> writes:
The average implementation uses e = 65537.
I don't understand why they don't use e=3. Is it an artifact of the
era when proper padding and its effects on provable security wasn't
understood?
It was a simple kneejerk reaction to the attack where if the same plaintext
was sent to e people the plaintext could be recovered. It was interpretted
by many as a break of e=3. It is rather irrelevant today, and arguably was
irrelevant at the time.
This particular one is somewhat irrelevant, but there's a much bigger problem
in that e=3 implementations tend to be quite vulnerable to even very minor
implementation flaws (including things that aren't explained in any of the
widely-used specs) while e=F4 is a lot less vulnerable. Witness the PKCS #1
padding vulnerability from a year or two back, where there were lots and lots
of little ways in which you could fail with e=3 but none with e=F4. For this
reason my code will block the use of e=3 keys (and in general e < 257, with
some exceptions for oddball exponents used by PGP 2.x, GPG, and SSH).
Peter.
.
- Follow-Ups:
- Re: Performance of RSA key generation
- From: Kristian Gjøsteen
- Re: Performance of RSA key generation
- References:
- Performance of RSA key generation
- From: Giuliano Bertoletti
- Re: Performance of RSA key generation
- From: Mark Wooding
- Re: Performance of RSA key generation
- From: Ertugrul Söylemez
- Re: Performance of RSA key generation
- From: Paul Rubin
- Re: Performance of RSA key generation
- From: Ertugrul Söylemez
- Re: Performance of RSA key generation
- From: Paul Rubin
- Re: Performance of RSA key generation
- From: Joseph Ashwood
- Performance of RSA key generation
- Prev by Date: Re: Requesting comments: SRP based IRC encryption
- Next by Date: Re: Performance of RSA key generation
- Previous by thread: Re: Performance of RSA key generation
- Next by thread: Re: Performance of RSA key generation
- Index(es):
Relevant Pages
|