Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2007 12:26:44 +0200
From:      Johan van Selst <johans@stack.nl>
To:        Christian Baer <christian.baer@uni-dortmund.de>
Cc:        freebsd-security@freebsd.org
Subject:   Re: slight irritation using digest (from the ports)
Message-ID:  <20070710102644.GA2017@mud2.stack.nl>
Resent-Message-ID: <20070710103032.GA3970@mud2.stack.nl>
In-Reply-To: <f6vjfa$2d5v$1@nermal.rz1.convenimus.net>
References:  <f6vjfa$2d5v$1@nermal.rz1.convenimus.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--Nq2Wo0NMKNjxTN9z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Christian,

Christian Baer wrote:
> My hash for "The quick brown fox jumps over the lazy dog" is:=20
> 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)=3D 72687676756b91ad986f2e56df761b354b748bc20098354b017b924e82cc67ae=
059da85f009d1a17c0f12ec0e644c0c3a193f3fc0fee22f053edbfcd95cbf873

echo -n The quick brown fox jumps over the lazy dog | openssl dgst -whirlpo=
ol
(stdin)=3D b97de512e91e3828b40d2b0fdce9ceb3c4a71f9bea8d88e75c4fa854df36725f=
d2b52eb6544edcacd6f8beddfea403cb55ae31f03ad62a5ef54e42ee82c3fb35


Greetings,
Johan

--Nq2Wo0NMKNjxTN9z
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----

iD8DBQFGk17kaOElK32lxTsRCMguAKCRfkM8iYrWQwEukRkHYed6hXbwmgCdEQA/
+Ai8C4a5n9Dt0d68RB6+G0Q=
=mi03
-----END PGP SIGNATURE-----

--Nq2Wo0NMKNjxTN9z--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070710102644.GA2017>