Security Advisories (1)
CVE-2016-1238

Digest::SHA before 5.96 with perls earlier than v5.26 included the current working directory in the module search path, which could lead to the inadvernant loading of unexpected versions of a module. The current directory was removed from the default module search path in perls from v5.26 and later.

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