Re: Encryption size

From: Ertugrul Soeylemez (never_at_drwxr-xr-x.org)
Date: 10/29/05

  • Next message: Lassi Hippeläinen: "Re: Encryption size"
    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/

    
    



  • Next message: Lassi Hippeläinen: "Re: Encryption size"

    Relevant Pages

    • Re: Restore trash can
      ... Frank better "up his performance" as biggest dork alive or else he might lose his throne! ... The design of the interface MUST and CAN be made more foolproof ... not in peak mental condition also drop their ...
      (microsoft.public.windows.vista.general)
    • Re: BMW 523i - unbenutzbar bei Schnee?
      ... >> Grenze zwischen Design und Kunst so definiert, ... Wird gerne Frank Lloyd Wright zugeschrieben, ... Wright arbeitete ´ne Weile in dessen ... Next by Date: ...
      (de.etc.fahrzeug.auto)
    • Re: Wanted: A nice puls for an opto coupler
      ... Frank Bemelman wrote: ... read the datasheet and do the sums, then pick a clamp ... I once had to fix a "design" (I'm being generous ... asked why the transorb didnt work, I highlighted the bit in the ...
      (sci.electronics.design)
    • Re: what is the difference between computer programmer and software engineer?
      ... I think that Frank is right in that the difference "usually" is if you have ... "engineering", which could imply more analysis and design before they start ... with or without a previous analysis and design. ... Such a distinction is "usually" based upon whether the respondent had ...
      (comp.lang.java.programmer)
    • Re: searchable forms?
      ... I recommend that you make a copy of your current query into a Make Table ... "Frank" wrote in message ... >> and let Access design a form for you. ... If you are able to enter data and edit old data then check ...
      (microsoft.public.access.gettingstarted)