Revision history for Perl extension Digest::SHA3. 1.05 Mon 08 Aug 2022 11:30:32 AM MST - corrected addfile to report error when stdin is a directory -- ref. rt.cpan.org #143899 -- thanks to Gregor Herrmann for pointing this out 1.04 Fri Apr 20 16:25:30 MST 2018 - silenced compiler warnings from VS2017 -- ref. rt.cpan.org #124477 -- thanks to Sergey Aleynikov for diagnostics - modified addfile to return error when given a directory name -- makes behavior consistent with GNU coreutils shaXsum -- thanks to Scott Baker for pointing this out 1.03 Mon Dec 25 00:08:10 MST 2017 - added "--ignore-missing" and "--strict" options to sha3sum -- consistent with GNU coreutils -- ref. rt.cpan.org #123897 1.02 Fri Dec 8 22:44:46 MST 2017 - added "tag" option (BSD-style checksums) to sha3sum -- consistent with GNU sha1sum, sha224sum, etc. -- thanks to Christopher Tubbs for suggestion - modified SHA3.pm to use XSLoader -- falls back to DynaLoader if necessary 1.01 Sun Oct 22 16:04:22 MST 2017 - added optional $lsb argument for add_bits() method -- many public vectors in least-significant-bit format -- using $lsb flag results in simpler test code - further minor optimizations in add_bits() and tests 1.00 Sat Oct 14 18:08:10 MST 2017 - promoted to major release version 1.0 -- module stable enough not to be considered draft - fixed alignment issue in BITS mode of addfile -- surfaced only for large non-aligned inputs 0.27 Wed Oct 4 00:40:04 MST 2017 - removed "portable" mode from sha3sum and addfile -- rarely used, mostly in outdated systems -- potentially confusing features (e.g. \r\r\n -> \n) -- Universal Newlines mode (-U) a much cleaner approach -- mimics Universal Newlines in Python - sha3sum now depends explicitly on Digest::SHA3 -- eliminates runtime loading of modules -- no future plans to write Digest::SHA3::PurePerl 0.26 Wed Sep 6 02:23:08 MST 2017 - added 'quiet' option to sha3sum -- thanks to Chris David for suggestion and initial patch -- ref. rt.cpan.org #122750 - expanded sha3sum --help message -- to explain use of escaped FILE names 0.25 Wed Jul 27 20:04:40 MST 2016 - prevented sha3sum from possibly running malicious code -- remove '.' from @INC before module loading -- ref. rt.cpan.org #116513 - namespace cleanup (ref. rt.cpan.org #105371 and #105372) - minor code and documentation tweaks 0.24 Sat Jan 10 00:45:34 MST 2015 - simplified shabits() routine (bitwise input buffering) -- slightly less efficient but easier to understand - minor documentation tweaks and additions 0.23 Sun Jan 4 05:36:30 MST 2015 - updated to reflect Draft FIPS 202 -- append domain separation bits to message -- implement SHAKE128 and SHAKE256 Extendable-Output Functions (XOFs) 0.22 Sun Jun 1 00:15:46 MST 2014 - fixed reserved-word clash when compiling with C++ -- use 'classname' instead of 'class' -- ref. SHA3.xs (rt.cpan.org #96090) 0.21 Fri May 16 10:21:46 MST 2014 - restored original 'addfile' for use on opened file handles -- allows callbacks in place of actual files -- ref. IO::Callback (rt.cpan.org #95643) - re-established inheritance from Digest::base -- to pick up future Digest enhancements automatically - cleaned up documentation 0.20 Wed May 7 07:57:10 MST 2014 - consolidated all dynamic memory allocation into XSUBs -- streamlines referencing of SHA3 objects -- simplifies DESTROYing of objects - enhanced Makefile.PL to allow 'use warnings' -- automatically reverts to $^W for early Perls - scrubbed C and Perl code to remove all compiler warnings 0.12 Sat Apr 19 05:14:50 MST 2014 - added universal newlines mode ("U") to addfile and sha3sum -- based on Python Universal Newlines concept -- newlines identical across MacOS, DOS, and UNIX -- will deprecate portable mode ("p") in future -- "U" mode is cleaner and more efficient - enhanced performance -- reduced number of dynamic memory allocations -- sped up addfile method with use of C code -- ref. SHA3.xs (_addfilebin and _addfileuniv) - changed text file test (-T) to act on filehandles -- improves consistency when reading from STDIN -- still must act on filenames for early Perls (< 5.6) - sealed memory leak in SHA3.xs -- arose only with SvPVbyte exceptions during eval - patched inheritence bug (ref: rt.cpan.org #94830) -- use sv_isobject/sv_derived_from instead of sv_isa - added 'allocated' flag to SHA3 structure (ref. src/sha3.h) -- to guard against Perl double frees 0.11 Mon Feb 17 16:42:04 MST 2014 - tightened code in SHA3.xs -- added sv_isa checks when invoking methods 0.10 Thu Jan 30 08:24:30 MST 2014 - improved the performance of hexadecimal output functions -- ref. 'shahex' in src/sha3.c -- thanks to Thomas Drugeon for ideas and test script 0.09 Sun Jan 5 19:08:32 MST 2014 - added a 'squeeze' method for SHA3-0 objects -- to construct SHA3-0 digests of any desired length 0.08 Wed Jun 26 04:32:06 MST 2013 - workaround for repeated calls to shaclose -- ref. Bug #86295 (posted at Digest::SHA) -- need to explicitly reset internal pointer to NULL ref. shaclose() in SHA3.xs - corrected typos in sha3sum script -- ref. Bug #85430 (posted at Digest::SHA) 0.07 Sat Mar 9 17:36:14 MST 2013 - untweaked Makefile.PL to remove dependencies of SHA3.c -- dependencies were breaking builds on VMS -- retaining dependencies provides too little benefit for cost of portable workaround 0.06 Mon Mar 4 08:12:04 MST 2013 - removed code for standalone C operation (no longer used) -- eliminates need for external symbols -- reduces size of object files -- thanks to Marc Lehmann for suggestions - tweaked Makefile.PL to show dependencies of SHA3.c 0.05 Thu Jan 24 04:54:14 MST 2013 - accommodated Unicode string input -- by using SvPVbyte instead of SvPV in SHA3.xs -- provided workaround for Perl 5.6 -- added new test script t/unicode.t - provided documentation to describe Unicode handling - obtained slight speedup on Intel/gcc -- by setting -O1 and -fomit-frame-pointer - adopted (from Digest::SHA) workaround for DEC compiler bug 0.04 Sun Nov 11 19:20:06 MST 2012 - enhanced performance -- typically 10-15% faster than 0.03 -- code is still easy to read and modify - filled in a few documentation omissions 0.03 Mon Oct 29 04:01:06 MST 2012 - attained a 2.5x performance increase through loop unrolling -- code is still easy to follow -- clearly traceable to Keccak pseudo code 0.02 Thu Oct 25 19:18:58 MST 2012 - original version: adapted from Digest::SHA version 5.72
Generated by dwww version 1.15 on Thu May 23 20:55:18 CEST 2024.