Re: Encryption size

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

  • Next message: Unruh: "Re: Encryption size"
    Date: Sat, 29 Oct 2005 12:03:41 +0300
    
    

    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.

    -- Lassi


  • Next message: Unruh: "Re: Encryption size"