Re: Encryption size

From: Lassi Hippeläinen (lahippel.at.ieee.org_at_moon.invalid)
Date: 10/30/05


Date: Sun, 30 Oct 2005 11:00:25 +0200

Ertugrul Soeylemez wrote:

> Lassi Hippeläinen <lahippel.at.ieee.org@moon.invalid> (Sat, 29 Oct 2005
> 12:03:41 +0300):
>> RSA can be seen as a block cipher. The block size is the size of the
>> modulus, which you can choose.
>
> You can't really tell if RSA is a block cipher or not. A block is a
> fixed number of of units. If you define a unit to be a byte, then it is
> a block cipher, but you can as well define a unit to be one cleartext
> unit, which is just a large number. In that case, RSA is not a block
> cipher.

The only meaningful way to define RSA block size is the size of the modulus,
as I mentioned above. Usually it is 1024 or 2048 bits, but there is no
mathematical reason why it has to be a power of two. It's only a habit that
makes sense when data records have lengths of 2^N. Also 1536 bits is in
use.

-- Lassi



Relevant Pages

  • Re: newbie Qs about RSA, OAEP
    ... just say use 2048-bit RSA keys and not worry about it [worry about the rest ... > RSA block, you encrypt the message with a block cipher, and encrypt only ... > the keys (the block cipher key, the MAC key, maybe the IV if there is ...
    (sci.crypt)
  • Re: newbie Qs about RSA, OAEP
    ... > Are there recommended minimum/maximum lengths for RSA keys? ... RSA block, you encrypt the message with a block cipher, and encrypt only ... each protocol has its own way of indicating length. ...
    (sci.crypt)
  • Re: Encryption size
    ... >> You can't really tell if RSA is a block cipher or not. ... the underlying data representation. ... This doesn't hurt RSA, but it ...
    (comp.security.misc)
  • Re: Encryption size
    ... > modulus, which you can choose. ... You can't really tell if RSA is a block cipher or not. ... HTTP: http://www.keyserver.de/ ...
    (comp.security.misc)
  • Re: RSA large messages
    ... I wonder if that would really be feasible, with the RSA speeds attained ... 1024 bit RSA modulus, at the rate of some 775 KiB/s. ... key + IV you'd have an expansion to 4240 bytes. ... You could OAEP pad the whole message first, ...
    (sci.crypt)