The signature size is determined by the size of the (RSA) key, or
more exactly, the modul. You probaly used a 1024 bit RSA key, with
is exactly 128 Byte. The digests are 16 or 20 bytes long, the
remaining bytes are padded internaly.
Milan Durovic schrieb:
>
> Hi All!
>
> I managed to write small programs using crypto lib to produce digital
> signatures for files. I tried both md5 and sha1 digest algorithms. In
> both cases the signature size was 128 bytes. I think that these message
> digest algorithms create 'checksums' of different sizes. If so, how can
> digital signatures be of the same size? What are the factors that
> determine the size of a digital signature?
>
> Thanks in advance,
>
> Milan
> ______________________________________________________________________
> OpenSSL Project http://www.openssl.org
> User Support Mailing List [EMAIL PROTECTED]
> Automated List Manager [EMAIL PROTECTED]
--
Holger Reif Tel.: +49 361 74707-0
SmartRing GmbH Fax.: +49 361 7470720
Europaplatz 5 [EMAIL PROTECTED]
D-99091 Erfurt WWW.Smarttrust.com
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]