Changes for version 3.1 - 2003-11-30

  • added test vectors compiled by Aaron Gifford ({me}{at}{aarongifford}{dot}{com}), two of which can reveal bugs in the SHA 256/384/512 implementations; see t/gifford/*.info for descriptions of these tests
  • added hashsize() method (in SHA.pm) that returns the hash length (in bytes) used; valid return values are 20, 32, 48, and 64 (for SHA-1, SHA-256, SHA-384, and SHA-512, respectively)
  • added "examples" directory, which contains working Perl scripts that show how to use Digest::SHA
  • tweaked Makefile.PL
    • module Digest::base (by Gisle Aas) is now required
    • added COMPRESS and SUFFIX options

Modules

Perl extension for SHA-1/256/384/512 and HMAC-SHA