Re: Question About RSA Encryption
- From: Mike Amling <nospam@xxxxxxxxxx>
- Date: Mon, 27 Feb 2006 01:48:11 GMT
Unruh wrote:
Mike Amling <nospam@xxxxxxxxxx> writes:
shimshim@xxxxxxxxx wrote:
Hi,
I have two questions about RSA encryption.
1)Does double encryption increase security over single encryption in
RSA? if yes or no why?
No. And it is very hard to impliment. The second N MUST then be larger than
the first, or you will not be able to invert it.
Well, no, you could use Rivest's trick for making the encryption function map {01}**k --> {01}**k, in which case both Ns must be larger than 2**k, but the second could be smaller than the first.
RSA is already unbearably
slow. Why do you want slow it down even further.
(Note that known plaintext does not seem to be of any help in cracking RSA.
It is cracked by factoring N, which does not require any plaintext at all.
Thus double encryption is no help whatsoever in hiding the text. If double
encryption were easier to break then the attcker could encrypt any
encrypted text and thus break it more easily. )
Others have answered this.
2)Why we should not use exponents e=1 and e=2 in RSA?
e=1 would mean the ciphertext is equal to the plaintext.
e=2 can be made to work. Search for "Rabin cryptosystem".
However, as I recall you want e to be relatively prime to p-1 and q-1 and 2
is never relatively prime to them.
Yes, that's the reason e=2 won't work in RSA, which is indeed what the OP was asking.
As he says e=1 is pretty useless. (Note that any number that is encrypted
must be much larger than N/e or else inversion is trivial. For e=1 this
When Dr. Unruh says "larger than N/e", he means "larger than N**(1/e)", or "have bitlength more than lg(N)/e bits".
requirement is impossible since the numver MUST also be less than N.
--Mike Amling
.
- References:
- Question About RSA Encryption
- From: shimshim
- Re: Question About RSA Encryption
- From: Mike Amling
- Re: Question About RSA Encryption
- From: Unruh
- Question About RSA Encryption
- Prev by Date: Re: About RSA
- Next by Date: Re: About RSA
- Previous by thread: Re: Question About RSA Encryption
- Next by thread: Re: Question About RSA Encryption
- Index(es):
Relevant Pages
|
|