Revision history for Perl extension Digest::SHA.
5.62 Sat May 14 04:00:34 MST 2011
-- thanks to dolmen for pointing this out
5.61 Wed Mar 9 05:26:36 MST 2011
-- not often used since it deliberately excludes
all 64-bit SHA transforms
5.60 Thu Mar 3 05:26:42 MST 2011
-- ref. NIST Draft FIPS 180-4 (February 2011)
-- expensive -T test now occurs only in portable mode
5.50 Tue Dec 14 06:20:08 MST 2010
-- actual filename '-' accessed as './-' -- accords with behavior of sha1sum/md5sum
-- inadvertent migration of _bail() from SHA.pm
5.49 Sun Dec 12 07:22:04 MST 2010
-- standard allows all characters except NUL and '/'
-- added "backslash processing" to handle newlines
and backslashes in filenames -- now accepts all POSIX filenames via Addfile -- thanks to Sean Burke for identifying edge cases
5.48 Mon Jan 4 16:32:52 MST 2010
-- incorrectly accepted 0 as a valid algorithm
-- thanks to Zefram for patch
-- ref. files t/nistbit.t, t/nistbyte.t
-- thanks to Leon Brocard for patch
5.47 Wed Apr 30 04:00:54 MST 2008
-- thanks to Jerry Hedden for patch
-- some platforms not able to find SHA source files
-- thanks to Alexandr Ciornii for testing
5.46 Wed Apr 9 05:04:00 MST 2008
whitespace in filenames (ref. rt.cpan.org #34690)
-- thanks to Robin Barker for patch
5.45 Tue Jun 26 02:36:00 MST 2007
-- works on Perl 5.003 and later -- thanks to Jim Doble for testing on legacy platforms
5.44 Sat Oct 14 00:42:44 MST 2006
-- spurious errors from CPANPLUS can break build
-- significantly reduces size of distribution
-- thanks to Jarkko Hietaniemi for patch
5.43 Sat Aug 5 02:36:18 MST 2006
-- 3-arg version uses different semantics for "-"
causing bugs in addfile and shasum
-- requested by Steve Hay (ref. Smoke [5.9.4] 28630) -- K&R style was causing numerous warnings from
Borland compiler
5.42 Mon Jul 24 04:04:40 MST 2006
-- e.g. no bareword filehandles, no 2-argument open's
-- previous one (0AF563FE) expired July 2, 2006
-- padding must be done by user if interoperability
with other software is required
5.41 Sat Jun 3 01:50:46 MST 2006
-- process $file argument as a filehandle unless passed
as a SCALAR (which indicates a file name)
5.40 Fri Jun 2 04:00:30 MST 2006
-- ref. rt.cpan.org #19627 and #19641
5.39 Sun May 28 03:22:24 MST 2006
-- to follow conventions of GNU sha1sum/md5sum
5.38 Thu May 25 02:02:02 MST 2006
-- now able to accept file names as well as handles -- includes mode for portable digest calculation
-- thanks to Adam Kennedy for emails and ideas
ref. File::LocalizeNewlines
-- regex a tad less general than 5.37, but handles all
known newline variants in UNIX/Windows/MacOS
-- to mimic behavior of md5sum
5.37 Mon May 8 04:30:09 MST 2006
-- to better mimic the behavior of md5sum
-- catches multiple CR's preceding LF
thanks to Gisle Aas for suggested patch
-- to prevent type mismatch warnings
5.36 Mon May 8 01:38:36 MST 2006
-- normalize line-breaks in text files only
5.35 Thu May 4 16:54:42 MST 2006
-- to make digests match across Windows/Unix/MacOS
-- to mimic behavior of md5sum
-- resolves SIGNATURE clashes (rt.cpan.org #18983)
-- eliminates gcc warnings (rt.cpan.org #18988)
-- closes rt.cpan.org #18984
5.34 Thu Feb 2 18:55:40 MST 2006
-- causing problems on OpenVMS -- thanks to Steve Peters for patch
-- allows module to be built into Perl distribution
5.32 Fri Dec 2 02:32:20 MST 2005
-- thanks to Gunnar Wolf for patch
-- resulting from signed/unsigned integer mixing
-- to recover gracefully if Test::More isn't installed
5.31 Mon Sep 5 00:52:42 MST 2005
unrecognized SHA algorithm
5.30 Sat Aug 20 16:46:08 MST 2005
-- advises use of larger and stronger hash functions
(i.e. SHA-224/256/384/512) for new developments
5.29 Sun Aug 14 04:48:34 MST 2005
-- thanks to E. Allen Smith for pointing out SGI compiler
warnings on IPxx-irix platforms
5.28 Wed Nov 10 15:33:20 MST 2004
-- entries may now contain embedded whitespace
for improved readability
5.27 Sun Oct 24 02:54:00 MST 2004
-- reduces size of dump files for SHA-1/224/256
5.26 Thu Oct 7 14:52:00 MST 2004
-- reduced NIST vector tests from 200 to 20
-- former number was overkill -- distro now downloads and builds more quickly
5.25 Sun Sep 12 18:48:00 MST 2004
-- t/8-shasum.t causes problems on sparc64-linux
5.24 Sun Sep 12 02:50:18 MST 2004
-- ref. perl.cpan.testers (157305)
5.23 Thu Sep 9 23:06:18 MST 2004
-- use blib when invoking perl as an external
command in t/8-shasum.t
5.22 Tue Sep 7 19:12:40 MST 2004
-- to compilers with no ULLONG_MAX in limits.h
-- e.g IBM C (xlC 6.0.0) on AIX 4.3.3 -- thanks to Chris Carey for suggestions
and technical expertise
-- detection of Intel arch. now done in Makefile.PL -- NB: static not used if compiling for thread safety
5.21 Mon Aug 23 04:02:00 MST 2004
-- ref. src/sha.h (lines 55, 58, and 61) -- even if compiler supports long long's, preprocessor
may use long's when evaluating expressions
-- exercises check file option (-c)
5.20 Sun Aug 15 04:24:48 MST 2004
-- mimics the usage and behavior of "md5sum" -- adds "-a" option to select SHA algorithm -- for help, just type "shasum -h"
5.10 Fri Aug 6 02:04:38 MST 2004
-- made it consistent with Digest::SHA::PurePerl docs
5.03 Sat Jul 31 00:00:48 MST 2004
-- code was using hardwired blocksize for SHA-1/256
-- ref. src/hmac.c, src/hmac.h
5.02 Thu Jul 29 02:48:00 MST 2004
-- to be consistent with Digest::SHA::PurePerl
-- for stronger authentication of module contents
-- ref. Module::Signature on CPAN
-- apologies to Gisle Aas
5.01 Fri May 21 13:08:12 MST 2004
-- prevents intermittent cleanup errors during
global object destruction
5.00 Fri May 14 04:45:00 MST 2004
-- previous X.Y.Z style caused installation difficulties
when using CPANPLUS
4.3.3 Wed May 5 00:30:40 MST 2004
-- caused problems in state files with CR/LF pairs -- thanks to Martin Thurn for testing support
4.3.2 Wed Apr 28 03:56:00 MST 2004
-- thread-safety: -t -- exclude 384/512 support: -x -- e.g. perl Makefile.PL -t
-- pending clarification of problem on sun4u sparc
4.3.1 Thu Mar 4 02:54:00 MST 2004
-- reduces size of compiled objects
-- now a blessed SHAPtr ref instead of blessed array ref -- results in slight speed-up of OO operations
-- used macros to consolidate repetitive code
-- allows module to be checked in minimal Perl environments
-- overrides use of static arrays
4.3.0 Sat Feb 7 02:58:00 MST 2004
-- uses MSVC's __int64 in place of "long long"
-- automatically sets up optimal types for 32/64-bit ops
-- many thanks to Alex Muntada for helpful suggestions
4.2.2 Sat Jan 31 17:10:20 MST 2004
4.2.1 Sat Jan 24 00:56:54 MST 2004
-- uses Perl libraries when compiled as CPAN module
-- otherwise defaults to ANSI C libraries -- bypasses problems in MSWin multi-threaded Perls
-- avoids "Free to wrong pool" error -- special thanks to Robert Gilmour and Brian Gladman
for technical guidance and testing
4.2.0 Sat Dec 27 16:08:00 MST 2003
-- ref. FIPS 180-2 Change Notice 1 -- also includes HMAC-SHA-224
4.1.0 Thu Dec 25 00:58:00 MST 2003
-- use binmode for data files
4.0.9 Wed Dec 24 02:58:22 MST 2003
-- enhances portability across different OSes
-- re-declare as (SV *) and cast to (AV *) SvRV(self)
-- in response to AVPtr problem on MSWin32
4.0.8 Thu Dec 18 23:32:00 MST 2003
-- also checks for MIME::Base64 -- still fully-functional if neither are installed
-- ref. shahex() and shabase64() routines -- prior code appeared impossible to exploit, but ...
-- better safe than sorry -- does not impact runtime efficiency
4.0.7 Sat Dec 13 00:48:24 MST 2003
-- was causing cleanup err during global destruction
4.0.6 Thu Dec 11 02:18:00 MST 2003
-- a bit faster on non-big-endians (e.g. Intel)
4.0.5 Sat Dec 6 00:02:24 MST 2003
-- rewrote "add" method in XS -- unrolled loops in sha256 transform
4.0.4 Thu Dec 4 00:07:00 MST 2003
-- no longer depends on Digest::base -- more convenient for users
-- no need to install Digest:: module
4.0.3 Wed Dec 3 00:01:20 MST 2003
-- inherits hexdigest/b64digest/addfile methods
-- in favor of standard, streamlined OO interface
-- prevents problems on 8+3 filesystems
4.0.0 Sat Nov 29 21:14:09 MST 2003
-- coordinated with Gisle Aas and J. Duque
-- goal is to produce a single SHA module -- adheres to OO and functional styles of Digest:: -- greatly reduces the number of interface functions -- old functions still supported
-- use Digest::SHA ':legacy' -- will be deprecated in near future
-- very easy to modify all 281 tests -- old interface maps cleanly to new one
3.0 Wed Nov 26 05:02:34 MST 2003
-- both functional and OO styles
-- byte-oriented data only -- continue to support original interface as well
-- necessary for bit-oriented data
-- from draft-ietf-ipsec-ciph-sha-256-01.txt
2.4 Sat Nov 22 17:10:22 MST 2003
-- "sha.c" now completely free of #ifdef's
2.3 Wed Nov 19 03:54:31 MST 2003
-- improved maintainability by reducing #ifdef's -- sha1 transform code now easier to follow
-- eliminated special "HQ" entry -- state now held in "H" for all transforms -- supplied "fixdump" utility to convert old format
-- previously they were undefined -- no longer necessary to use eval's to test for presence
2.2 Sun Nov 16 01:54:00 MST 2003
-- around 20-30% faster than previous version -- achieved by loop unrolling and assignment consolidation
-- "$filename" argument now optional
2.1 Sun Nov 9 03:28:04 MST 2003
-- length argument now optional for byte data
(special thanks to Jeffrey Friedl for this idea) -- interface still compatible with earlier versions
-- changes will not affect existing client code
2.0 Sat Nov 1 03:55:36 MST 2003
1.01 Sat Oct 25 02:44:55 MST 2003
-- pruned extensive NIST vectors to a useful subset -- still possible to test all vectors if desired
--- see "t/nist/COPYRIGHT" file for details
-- shadump() and shaload()
-- illustrates usefulness of shadump()/shaload()
1.0 Sat Oct 18 17:35:07 MST 2003
-- shahex() prior to shafinish() returns current state
0.9 Thu Oct 9 20:43:54 MST 2003
of all tests (1401)
0.01 Wed Oct 8 22:28:05 2003
-x -A -n Digest::SHA sha.h