Re: Encryption size

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


Date: Tue, 25 Oct 2005 15:16:12 +0300

frank wrote:

> Hi,
>
> 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?
>
> Many thanks,
> F.

They will be rounded up to the next full block. The block size is one design
parameter that you can choose within some limits.

-- Lassi



Relevant Pages

  • Re: Encryption size
    ... > digest will encrypt to using the RSA algorithm? ... "Ich bin ein freier Mensch und werde jetzt von meinen Freiheitsrechten ...
    (comp.security.misc)
  • Re: Encryption size
    ... >> digest will encrypt to using the RSA algorithm? ... > This is implementation specific AFAICS, ...
    (comp.security.misc)
  • Re: Encrypt a UsernameToken Authenticated WSE Response
    ... You can dictionary attack the pw digest pretty easy in the UT to get the pw. ... you can generate the symmetric key as all needed info ... > and is just used to generate the session key to encrypt. ... >> username and passwort und the data is symmetric encrypted, ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • RE: Encrypting a folder and all its contents.
    ... Frank, check out TrueCrypt. ... Sounds more up your alley. ... A particular folder that I can encrypt, ... the folder to read the files a password would be required. ...
    (microsoft.public.windowsxp.general)
  • Re: PGP
    ... > encrypt a message destined for the key's owner. ... The difference between the private and the public key is, ... encrypt this digest with your PRIVATE key -> this is the signature ... EVERYBODY who has your public key can decrypt the signature to get the digest. ...
    (Security-Basics)