Subject: Re: OpenSSL Hashes
To: Evaldo Gardenali <evaldo@gardenali.biz>
From: Dieter Roelants <dieter.r@pandora.be>
List: current-users
Date: 08/25/2006 10:39:57
On 08/25/06 02:40:18, Evaldo Gardenali wrote:
> Hi!
>=20
> Yes, OpenSSL 0.9.8 works with SHA2 on all other platforms I use, and=20
> it is included on the official source distribution, like I can see by=20
> browsing the files openssl-0.9.8b/crypto/sha/sha256.c sha456t.c=20
> sha512.c sha512t.c for example.

OpenSSL help doesn't print them, but they seem to be there:

simult:p4:~$ uname -rs
NetBSD 4.99.1
simult:p4:~$ type openssl
openssl is /usr/bin/openssl
simult:p4:~$ openssl dgst -sha256 < /dev/null
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
simult:p4:~$ openssl dgst -sha384 < /dev/null
38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76=
f65fbd51ad2f14898b95b
simult:p4:~$ openssl dgst -sha512 < /dev/null
cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d8=
5f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e

Maybe that's why help said: "see the `dgst' command for more details" :)


Kind regards
dieter

>=20
>=20