DigestInfo structure for MD2 and MD5 is 34 bytes.
The first 18 bytes are then:
30 20 30 0c .......00 04 10, followed by tha hash itself.
Read (have a look at) PKCS#1
> -----Original Message-----
> From: marilen [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, April 27, 2001 1:35 PM
> To: opencard
> Subject: [OCF] hash function
>
> my sign function takes 34 bytes as input. Does anybody has anyideea what
> algorithm may have been used for generating that hash?
>
>
>
> ---
> > Visit the OpenCard web site at http://www.opencard.org/ for more
> > information on OpenCard---binaries, source code, documents.
> > This list is being archived at http://www.opencard.org/archive/opencard/
>
> ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
> ! to
> ! [EMAIL PROTECTED]
> ! containing the word
> ! unsubscribe
> ! in the body.
---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/
! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
! [EMAIL PROTECTED]
! containing the word
! unsubscribe
! in the body.