| 1 |
Revision history for Perl extension Digest::SHA3. |
| 2 |
|
| 3 |
1.05 Mon 08 Aug 2022 11:30:32 AM MST |
| 4 |
- corrected addfile to report error when stdin is a directory |
| 5 |
-- ref. rt.cpan.org #143899 |
| 6 |
-- thanks to Gregor Herrmann for pointing this out |
| 7 |
|
| 8 |
1.04 Fri Apr 20 16:25:30 MST 2018 |
| 9 |
- silenced compiler warnings from VS2017 |
| 10 |
-- ref. rt.cpan.org #124477 |
| 11 |
-- thanks to Sergey Aleynikov for diagnostics |
| 12 |
- modified addfile to return error when given a directory name |
| 13 |
-- makes behavior consistent with GNU coreutils shaXsum |
| 14 |
-- thanks to Scott Baker for pointing this out |
| 15 |
|
| 16 |
1.03 Mon Dec 25 00:08:10 MST 2017 |
| 17 |
- added "--ignore-missing" and "--strict" options to sha3sum |
| 18 |
-- consistent with GNU coreutils |
| 19 |
-- ref. rt.cpan.org #123897 |
| 20 |
|
| 21 |
1.02 Fri Dec 8 22:44:46 MST 2017 |
| 22 |
- added "tag" option (BSD-style checksums) to sha3sum |
| 23 |
-- consistent with GNU sha1sum, sha224sum, etc. |
| 24 |
-- thanks to Christopher Tubbs for suggestion |
| 25 |
- modified SHA3.pm to use XSLoader |
| 26 |
-- falls back to DynaLoader if necessary |
| 27 |
|
| 28 |
1.01 Sun Oct 22 16:04:22 MST 2017 |
| 29 |
- added optional $lsb argument for add_bits() method |
| 30 |
-- many public vectors in least-significant-bit format |
| 31 |
-- using $lsb flag results in simpler test code |
| 32 |
- further minor optimizations in add_bits() and tests |
| 33 |
|
| 34 |
1.00 Sat Oct 14 18:08:10 MST 2017 |
| 35 |
- promoted to major release version 1.0 |
| 36 |
-- module stable enough not to be considered draft |
| 37 |
- fixed alignment issue in BITS mode of addfile |
| 38 |
-- surfaced only for large non-aligned inputs |
| 39 |
|
| 40 |
0.27 Wed Oct 4 00:40:04 MST 2017 |
| 41 |
- removed "portable" mode from sha3sum and addfile |
| 42 |
-- rarely used, mostly in outdated systems |
| 43 |
-- potentially confusing features (e.g. \r\r\n -> \n) |
| 44 |
-- Universal Newlines mode (-U) a much cleaner approach |
| 45 |
-- mimics Universal Newlines in Python |
| 46 |
- sha3sum now depends explicitly on Digest::SHA3 |
| 47 |
-- eliminates runtime loading of modules |
| 48 |
-- no future plans to write Digest::SHA3::PurePerl |
| 49 |
|
| 50 |
0.26 Wed Sep 6 02:23:08 MST 2017 |
| 51 |
- added 'quiet' option to sha3sum |
| 52 |
-- thanks to Chris David for suggestion and initial patch |
| 53 |
-- ref. rt.cpan.org #122750 |
| 54 |
- expanded sha3sum --help message |
| 55 |
-- to explain use of escaped FILE names |
| 56 |
|
| 57 |
0.25 Wed Jul 27 20:04:40 MST 2016 |
| 58 |
- prevented sha3sum from possibly running malicious code |
| 59 |
-- remove '.' from @INC before module loading |
| 60 |
-- ref. rt.cpan.org #116513 |
| 61 |
- namespace cleanup (ref. rt.cpan.org #105371 and #105372) |
| 62 |
- minor code and documentation tweaks |
| 63 |
|
| 64 |
0.24 Sat Jan 10 00:45:34 MST 2015 |
| 65 |
- simplified shabits() routine (bitwise input buffering) |
| 66 |
-- slightly less efficient but easier to understand |
| 67 |
- minor documentation tweaks and additions |
| 68 |
|
| 69 |
0.23 Sun Jan 4 05:36:30 MST 2015 |
| 70 |
- updated to reflect Draft FIPS 202 |
| 71 |
-- append domain separation bits to message |
| 72 |
-- implement SHAKE128 and SHAKE256 Extendable-Output |
| 73 |
Functions (XOFs) |
| 74 |
|
| 75 |
0.22 Sun Jun 1 00:15:46 MST 2014 |
| 76 |
- fixed reserved-word clash when compiling with C++ |
| 77 |
-- use 'classname' instead of 'class' |
| 78 |
-- ref. SHA3.xs (rt.cpan.org #96090) |
| 79 |
|
| 80 |
0.21 Fri May 16 10:21:46 MST 2014 |
| 81 |
- restored original 'addfile' for use on opened file handles |
| 82 |
-- allows callbacks in place of actual files |
| 83 |
-- ref. IO::Callback (rt.cpan.org #95643) |
| 84 |
- re-established inheritance from Digest::base |
| 85 |
-- to pick up future Digest enhancements automatically |
| 86 |
- cleaned up documentation |
| 87 |
|
| 88 |
0.20 Wed May 7 07:57:10 MST 2014 |
| 89 |
- consolidated all dynamic memory allocation into XSUBs |
| 90 |
-- streamlines referencing of SHA3 objects |
| 91 |
-- simplifies DESTROYing of objects |
| 92 |
- enhanced Makefile.PL to allow 'use warnings' |
| 93 |
-- automatically reverts to $^W for early Perls |
| 94 |
- scrubbed C and Perl code to remove all compiler warnings |
| 95 |
|
| 96 |
0.12 Sat Apr 19 05:14:50 MST 2014 |
| 97 |
- added universal newlines mode ("U") to addfile and sha3sum |
| 98 |
-- based on Python Universal Newlines concept |
| 99 |
-- newlines identical across MacOS, DOS, and UNIX |
| 100 |
-- will deprecate portable mode ("p") in future |
| 101 |
-- "U" mode is cleaner and more efficient |
| 102 |
- enhanced performance |
| 103 |
-- reduced number of dynamic memory allocations |
| 104 |
-- sped up addfile method with use of C code |
| 105 |
-- ref. SHA3.xs (_addfilebin and _addfileuniv) |
| 106 |
- changed text file test (-T) to act on filehandles |
| 107 |
-- improves consistency when reading from STDIN |
| 108 |
-- still must act on filenames for early Perls (< 5.6) |
| 109 |
- sealed memory leak in SHA3.xs |
| 110 |
-- arose only with SvPVbyte exceptions during eval |
| 111 |
- patched inheritence bug (ref: rt.cpan.org #94830) |
| 112 |
-- use sv_isobject/sv_derived_from instead of sv_isa |
| 113 |
- added 'allocated' flag to SHA3 structure (ref. src/sha3.h) |
| 114 |
-- to guard against Perl double frees |
| 115 |
|
| 116 |
0.11 Mon Feb 17 16:42:04 MST 2014 |
| 117 |
- tightened code in SHA3.xs |
| 118 |
-- added sv_isa checks when invoking methods |
| 119 |
|
| 120 |
0.10 Thu Jan 30 08:24:30 MST 2014 |
| 121 |
- improved the performance of hexadecimal output functions |
| 122 |
-- ref. 'shahex' in src/sha3.c |
| 123 |
-- thanks to Thomas Drugeon for ideas and test script |
| 124 |
|
| 125 |
0.09 Sun Jan 5 19:08:32 MST 2014 |
| 126 |
- added a 'squeeze' method for SHA3-0 objects |
| 127 |
-- to construct SHA3-0 digests of any desired length |
| 128 |
|
| 129 |
0.08 Wed Jun 26 04:32:06 MST 2013 |
| 130 |
- workaround for repeated calls to shaclose |
| 131 |
-- ref. Bug #86295 (posted at Digest::SHA) |
| 132 |
-- need to explicitly reset internal pointer to NULL |
| 133 |
ref. shaclose() in SHA3.xs |
| 134 |
- corrected typos in sha3sum script |
| 135 |
-- ref. Bug #85430 (posted at Digest::SHA) |
| 136 |
|
| 137 |
0.07 Sat Mar 9 17:36:14 MST 2013 |
| 138 |
- untweaked Makefile.PL to remove dependencies of SHA3.c |
| 139 |
-- dependencies were breaking builds on VMS |
| 140 |
-- retaining dependencies provides too little benefit |
| 141 |
for cost of portable workaround |
| 142 |
|
| 143 |
0.06 Mon Mar 4 08:12:04 MST 2013 |
| 144 |
- removed code for standalone C operation (no longer used) |
| 145 |
-- eliminates need for external symbols |
| 146 |
-- reduces size of object files |
| 147 |
-- thanks to Marc Lehmann for suggestions |
| 148 |
- tweaked Makefile.PL to show dependencies of SHA3.c |
| 149 |
|
| 150 |
0.05 Thu Jan 24 04:54:14 MST 2013 |
| 151 |
- accommodated Unicode string input |
| 152 |
-- by using SvPVbyte instead of SvPV in SHA3.xs |
| 153 |
-- provided workaround for Perl 5.6 |
| 154 |
-- added new test script t/unicode.t |
| 155 |
- provided documentation to describe Unicode handling |
| 156 |
- obtained slight speedup on Intel/gcc |
| 157 |
-- by setting -O1 and -fomit-frame-pointer |
| 158 |
- adopted (from Digest::SHA) workaround for DEC compiler bug |
| 159 |
|
| 160 |
0.04 Sun Nov 11 19:20:06 MST 2012 |
| 161 |
- enhanced performance |
| 162 |
-- typically 10-15% faster than 0.03 |
| 163 |
-- code is still easy to read and modify |
| 164 |
- filled in a few documentation omissions |
| 165 |
|
| 166 |
0.03 Mon Oct 29 04:01:06 MST 2012 |
| 167 |
- attained a 2.5x performance increase through loop unrolling |
| 168 |
-- code is still easy to follow |
| 169 |
-- clearly traceable to Keccak pseudo code |
| 170 |
|
| 171 |
0.02 Thu Oct 25 19:18:58 MST 2012 |
| 172 |
- original version: adapted from Digest::SHA version 5.72 |