Re: Encryption size
From: Ertugrul Soeylemez (never_at_drwxr-xr-x.org)
Date: 10/29/05
- Previous message: nehmo54_at_hotmail.com: "Re: MS AntiSpyware False Positive: autoload.exe as Autoloader.A"
- In reply to: Lassi Hippeläinen: "Re: Encryption size"
- Next in thread: Lassi Hippeläinen: "Re: Encryption size"
- Reply: Lassi Hippeläinen: "Re: Encryption size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 29 Oct 2005 10:22:49 +0200
Lassi Hippeläinen <lahippel.at.ieee.org@moon.invalid> (Tue, 25 Oct 2005 15:16:12 +0300):
> frank wrote:
> > Can anyone tell me what size a 16-byte MD5 or 20-byte SHA-1 message
> > digest will encrypt to using the RSA algorithm? Will they still be 16
> > bytes or 20 bytes respectively? Or will they get any larger?
>
> They will be rounded up to the next full block. The block size is one design
> parameter that you can choose within some limits.
That's wrong. The new size will be the size of your RSA modulus. If
you choose a 1024 bit key (which effectively means: a 1024 bit modulus),
then the minimum block size will be that 1024 bits (1024/8 = 128
bytes). It may be rounded up to some fixed block-size, but that's not
RSA-specific, but implementation-specific.
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
- Previous message: nehmo54_at_hotmail.com: "Re: MS AntiSpyware False Positive: autoload.exe as Autoloader.A"
- In reply to: Lassi Hippeläinen: "Re: Encryption size"
- Next in thread: Lassi Hippeläinen: "Re: Encryption size"
- Reply: Lassi Hippeläinen: "Re: Encryption size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|