Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2001 09:18:52 -0800
From:      Kris Kennaway <kris@FreeBSD.ORG>
To:        Alson van der Meulen <alm@flutnet.org>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: sha1 program
Message-ID:  <20011215091852.A91288@citusc17.usc.edu>
In-Reply-To: <20011215181253.U10171@md2.mediadesign.nl>; from alm@flutnet.org on Sat, Dec 15, 2001 at 06:12:53PM %2B0100
References:  <20011215062918.F74051-400000@siteintegrity.net> <E16FDS3-0003kr-00@gadolinium.btinternet.com> <20011215181253.U10171@md2.mediadesign.nl>

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

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

On Sat, Dec 15, 2001 at 06:12:53PM +0100, Alson van der Meulen wrote:

> > Why not have one program for all the supported hash algorithms as=20
> > opposed to individual ones for each (md5, sha1) ?
> >=20
> > You could use something like:
> >=20
> > > hash -a md5 /some/file
> > > hash -a sha1 /some/other/file
> It's called openssl.
> openssl dgst -md5
> openssl dgst -sha1
> ...
>=20
> You could write a wrapper for this, or just type the 14 extra characters
> ;)

Or just ln -sf /usr/bin/openssl /usr/bin/sha1

OpenSSL already checks the name it's invoked under and behaves
accordingly.

Kris

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8G4X8Wry0BWjoQKURAp8AAJwKZkY5p//fSsM+3pv/2M4j4c2eDwCg0czC
P1WxYFe6AEwI69ikO+Y/0TQ=
=8u6B
-----END PGP SIGNATURE-----

--wRRV7LY7NUeQGEoC--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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