in reply to Re: SHA-2 and PERL
in thread SHA-2 and PERL

SHA-2 is the name given to a family of hash functions: SHA-224, SHA-256, SHA-384 and SHA-512. All four of those hash functions are implemented by Digest::SHA (which also implements SHA-1).

As of Perl 5.10, Digest::SHA is bundled with Perl itself.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

Replies are listed 'Best First'.
Re^3: SHA-2 and PERL
by invalid_logic (Initiate) on Aug 05, 2012 at 07:59 UTC

    Then it is just a simple misunderstanding of what I was reading about the various SHA digests and their family groupings.

    "SHA-1 produces a 160-bit hash."

    -Bruce Schneier blog/archives/2005/02/cryptanalysis_o.html