From: "Zwet van der, PH (Pim)" <[EMAIL PROTECTED]>
P.H.Zwet> I'm using the datastring "abcdefghijklmnopqrstuvwxyz" in a
P.H.Zwet> file called data1 as input for the folowing command:
P.H.Zwet>
P.H.Zwet> > cat data1 | openssl sha1 -sha1
P.H.Zwet>
P.H.Zwet> This results in the folowing output:
P.H.Zwet>
P.H.Zwet> > 8c723a0fa70b111017b4a6f06afe1c0dbcec14e3
Check (with 'od -c', for example) if there's a \n at the end of that
file. In that case, you have digested "abcdefghijklmnopqrstuvwxyz\n"
rather than "abcdefghijklmnopqrstuvwxyz". This is quite a common
mistake.
--
Richard Levitte \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47
\ SWEDEN \ or +46-733-72 88 11
Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, GemPlus: http://www.gemplus.com/
Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]