Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Computer Security > what is RSA keylength the length of?

Reply
Thread Tools

what is RSA keylength the length of?

 
 
Daniel Moore
Guest
Posts: n/a
 
      04-28-2008

People talk about "the key length" in discussions of the RSA algorithm.

In learning about it at a textbook level I know that an RSA key is a
pair of integers. (One is used as a power to exponentiate a value and
ususally labeled e or d, the other as a divisor to then divide the
result usually labeled n.)

So what does "the key length," as a singular reference, refer to?? For
example if I hear about a "1024-bit RSA key" what is 1024 bits long?
 
Reply With Quote
 
 
 
 
Ertugrul Söylemez
Guest
Posts: n/a
 
      04-28-2008
Daniel Moore <> wrote:

> People talk about "the key length" in discussions of the RSA
> algorithm.
>
> In learning about it at a textbook level I know that an RSA key is a
> pair of integers. (One is used as a power to exponentiate a value and
> ususally labeled e or d, the other as a divisor to then divide the
> result usually labeled n.)
>
> So what does "the key length," as a singular reference, refer to?? For
> example if I hear about a "1024-bit RSA key" what is 1024 bits long?


It is the bit length of the modulus, i.e. if you've got an N bits RSA
key, then the modulus is a number smaller than 2^N.


Regards,
Ertugrul.


--
http://ertes.de/

 
Reply With Quote
 
 
 
 
Unruh
Guest
Posts: n/a
 
      04-28-2008
Daniel Moore <> writes:


>People talk about "the key length" in discussions of the RSA algorithm.


>In learning about it at a textbook level I know that an RSA key is a
>pair of integers. (One is used as a power to exponentiate a value and
>ususally labeled e or d, the other as a divisor to then divide the
>result usually labeled n.)


NO. The pair of integers are two primes which are multiplied together to
give n. the exponents e and d are easily computed from those. e is usually
only about 6 bits long. d is roughly the same size as n.


>So what does "the key length," as a singular reference, refer to?? For
>example if I hear about a "1024-bit RSA key" what is 1024 bits long?


The product of that pair of primes.
And each of the two primes are half that length.

 
Reply With Quote
 
Ertugrul Söylemez
Guest
Posts: n/a
 
      04-29-2008
Unruh <unruh-> wrote:

> > People talk about "the key length" in discussions of the RSA algorithm.
> >
> > In learning about it at a textbook level I know that an RSA key is a
> > pair of integers. (One is used as a power to exponentiate a value
> > and ususally labeled e or d, the other as a divisor to then divide
> > the result usually labeled n.)

>
> NO. The pair of integers are two primes which are multiplied together
> to give n. the exponents e and d are easily computed from those. e is
> usually only about 6 bits long. d is roughly the same size as n.


Actually, Daniel is right. The modulus alone doesn't make a useful RSA
key. The modulus together with an exponent does. That would be a pair
of integers (he didn't talk about primes).


Regards,
Ertugrul.


--
http://ertes.de/

 
Reply With Quote
 
Unruh
Guest
Posts: n/a
 
      04-29-2008
Ertugrul =?UTF-8?B?U8O2eWxlbWV6?= <> writes:

>Unruh <unruh-> wrote:


>> > People talk about "the key length" in discussions of the RSA algorithm.
>> >
>> > In learning about it at a textbook level I know that an RSA key is a
>> > pair of integers. (One is used as a power to exponentiate a value
>> > and ususally labeled e or d, the other as a divisor to then divide
>> > the result usually labeled n.)

>>
>> NO. The pair of integers are two primes which are multiplied together
>> to give n. the exponents e and d are easily computed from those. e is
>> usually only about 6 bits long. d is roughly the same size as n.


>Actually, Daniel is right. The modulus alone doesn't make a useful RSA
>key. The modulus together with an exponent does. That would be a pair
>of integers (he didn't talk about primes).


Never said that modulus alone makes a useful RSA key.
The modulus is the product of two primes. The length of the modulus is the
length of the RSA "key" commonly quoted . The two exponents are --e is
assumes to be a small number for which exponentiation is easily calculated.
The exponent d is then easily calculated from the two primes. But it is the
length of the modulus that is used as the length of RSA.

(d is roughly of the same length, but its length is not the length of RSA.
The two primes are each of (roughly ) the same size.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
KMCS (64-bit driver signing) question about RSA key length (2,048bits okay?) David Schwartz Windows 64bit 4 04-17-2009 08:58 AM
left(string, length) or right(string, length)? Sam ASP .Net 3 02-17-2005 12:01 PM
Implementing .net RSA on the server *and* JavaScript RSA on the client gg ASP .Net 0 11-18-2004 10:29 PM
System.ArgumentOutOfRangeException: Length cannot be less than zero. Parameter name: length =?Utf-8?B?SG96aQ==?= ASP .Net 1 06-01-2004 11:06 PM
How to get length of string? length() problems Mitchua Perl 5 07-17-2003 12:08 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57