Re: RSA moduli sizes
- From: Phil Carmody <thefatphil_demunged@xxxxxxxxxxx>
- Date: Wed, 01 Apr 2009 01:00:22 +0300
tom@xxxxxxx writes:
On Mar 30, 7:52 pm, pubkeybreaker <pubkeybrea...@xxxxxxx> wrote:
On Mar 30, 3:13 pm, t...@xxxxxxx wrote:
On Mar 30, 12:50 pm, pubkeybreaker <pubkeybrea...@xxxxxxx> wrote:
I have to agree with Paulo on this one. You're splitting hairs
here. An AES key is technically a bit string, yes.
But so is an RSA key for that matter.
No, IT IS NOT.
This is why I must insist upon "splitting hairs" as you call it.
You still don't get it. A bit strong need not have the most
significant
bit equal to 1. an RSA key MUST.
No, it doesn't. I could store an RSAPublicKey [PKCS #1 ASN.1
sequence] with a leading bit of zero in the modulus all I wanted.
It'd still be imported (provided no more than 6 zero bits were present
otherwise it wouldn't be DER) by any compliant PKCS #1 library. The
math still works, etc, and so on.
I agree the nomenclature is that a n-bit RSA key has the n-1th bit of
the modulus set. What I'm saying is if I handed you, say 128 bytes
where the 1023rd bit wasn't 0, the math should still work just fine
provided your messages are not 1024 bits long.
And for that matter, RSA will work if you pass leading zero bits as
your modulus, [or at least most math libraries can cope with that].
Which is IRRELEVANT for determining the SIZE of the key.
I AGREE! BIG FONT TEXT MEANS I'M SERIOUS!
It does mean [as Paulo posted] that your message sizes become smaller
as a result.
So you're all saying the same thing, just talking past one another.
No, I am not.
Ok, you're not.
Whatever.
Tom
There can only be one Tom with that posting style - long time no see...
Phil
--
Marijuana is indeed a dangerous drug.
It causes governments to wage war against their own people.
-- Dave Seaman (sci.math, 19 Mar 2009)
.
- Follow-Ups:
- Re: RSA moduli sizes
- From: tom
- Re: RSA moduli sizes
- Prev by Date: Re: RSA moduli sizes
- Next by Date: Why my code is slower and why it can't be significantly sped up.
- Previous by thread: Re: RSA moduli sizes
- Next by thread: Re: RSA moduli sizes
- Index(es):
Relevant Pages
|