slight irritation using digest (from the ports)
    Johan van Selst 
    johans at stack.nl
       
    Tue Jul 10 10:51:50 UTC 2007
    
    
  
Hi Christian,
Christian Baer wrote:
> My hash for "The quick brown fox jumps over the lazy dog" is: 
> 72687676756b91ad986f2e56df761b354b748bc20098354b017b924e82cc67ae
> 059da85f009d1a17c0f12ec0e644c0c3a193f3fc0fee22f053edbfcd95cbf873
> And that is nowhere near the examples shown in the article.
You have included the trailing newline in your hash calculation;
the example in the article did not do this:
echo The quick brown fox jumps over the lazy dog | openssl dgst -whirlpool
(stdin)= 72687676756b91ad986f2e56df761b354b748bc20098354b017b924e82cc67ae059da85f009d1a17c0f12ec0e644c0c3a193f3fc0fee22f053edbfcd95cbf873
echo -n The quick brown fox jumps over the lazy dog | openssl dgst -whirlpool
(stdin)= b97de512e91e3828b40d2b0fdce9ceb3c4a71f9bea8d88e75c4fa854df36725fd2b52eb6544edcacd6f8beddfea403cb55ae31f03ad62a5ef54e42ee82c3fb35
Greetings,
Johan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-security/attachments/20070710/6beab4cb/attachment-0001.pgp
    
    
More information about the freebsd-security
mailing list