Re: Encryption size
From: Ertugrul Soeylemez (never_at_drwxr-xr-x.org)
Date: 10/30/05
- Next message: Ertugrul Soeylemez: "Re: Encryption size"
- Previous message: Volker Birk: "Re: NIS 2005 Renewal Problem"
- In reply to: Lassi Hippeläinen: "Re: Encryption size"
- Next in thread: Volker Birk: "Re: Encryption size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 30 Oct 2005 16:19:44 +0100
Lassi Hippeläinen <lahippel.at.ieee.org@moon.invalid> (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.
Yes, but you can also see one cleartext number 'm' as a unit, because it
is encrypted as a single whole, not like in other ciphers, where the
individual bytes are meaningful. In other words: RSA does not rely on
the underlying data representation. That's why RSA can't really be seen
as a block cipher.
In fact, this is even better, because you can use anything as the
underlying unit. If you build a computer, where each line has three
states, then you might define a byte to be of size 9 tribits, in which
case it could take 3^9 different numbers. This doesn't hurt RSA, but it
well hurts all symmetric block ciphers.
Also you can as well choose the key size in another unit than bits. My
key is of size 2^4096, but I could as well say that it's 3^2585.
Regards.
-----
Public key "Ertugrul Soeylemez <never@drwxr-xr-x.org>" (id: CE402012)
Fingerprint: 0F12 0912 DFC8 2FC5 E2B8 A23E 6BAC 998E CE40 2012
HKP: hkp://subkeys.pgp.net/
LDAP: ldap://keyserver.pgp.com/
HTTP: http://www.keyserver.de/
- application/pgp-signature attachment: stored
- Next message: Ertugrul Soeylemez: "Re: Encryption size"
- Previous message: Volker Birk: "Re: NIS 2005 Renewal Problem"
- In reply to: Lassi Hippeläinen: "Re: Encryption size"
- Next in thread: Volker Birk: "Re: Encryption size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|