Re: Encryption size
From: Unruh (unruh-spam_at_physics.ubc.ca)
Date: 10/29/05
- Previous message: Lassi Hippeläinen: "Re: Encryption size"
- In reply to: Lassi Hippeläinen: "Re: Encryption size"
- Next in thread: Ertugrul Soeylemez: "Re: Encryption size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 29 Oct 2005 16:35:53 GMT
Lassi =?ISO-8859-15?Q?Hippel=E4inen?= <lahippel.at.ieee.org@moon.invalid> writes:
>Ertugrul Soeylemez wrote:
>> 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.
>RSA can be seen as a block cipher. The block size is the size of the
>modulus, which you can choose.
But if you choose it to be only 20 bytes, you may as well not use
encryption. RSA is absurdly weak at that size.
- Previous message: Lassi Hippeläinen: "Re: Encryption size"
- In reply to: Lassi Hippeläinen: "Re: Encryption size"
- Next in thread: Ertugrul Soeylemez: "Re: Encryption size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]