sha2 utilities: Print or check SHA-2 digests

David Shaw dshaw at jabberwocky.com
Fri Jun 9 14:04:35 CEST 2006


On Fri, Jun 09, 2006 at 12:07:44AM -0600, rmyster wrote:
> --------------------------------------------------------------------
> >From the coreutils documentation, it states:
> "6.6 sha2 utilities: Print or check SHA-2 digests
> 
> The commands sha224sum, sha256sum, sha384sum and sha512sum compute
> checksums of various lengths (respectively 224, 256, 384 and 512 bits),
> collectively known as the SHA-2 hashes..."
> ---------------------------------------------------------------------
> 
> 
> Coreutils is installed but there isn't any sha224sum, sha256sum,
> sha384sum or sha512sum commands available.  Is sha2 utilities part of
> some other package?

I'm not sure if I fully understand your question (coreutils has
nothing to do with GnuPG), but GnuPG does have the SHA2 hashes:

gpg --print-md sha256 (thefile)
gpg --print-md sha384 (thefile)
gpg --print-md sha512 (thefile)

The next version of GPG will add:

gpg --print-md sha224 (thefile)

David



More information about the Gnupg-users mailing list