Update the MD5 checksums.
[p5sagit/p5-mst-13.2.git] / ext / Digest / MD5 / Changes
CommitLineData
f62a1bde 12002-03-04 Gisle Aas <gisle@ActiveState.com>
2
3 Release 2.22.
4
5 Added clone method.
6 Contributed by Holger Smolinski <holger@kunterbunt.bb.bawue.de>
7
8
9
9a03235d 102002-12-27 Gisle Aas <gisle@ActiveState.com>
11
12 Release 2.21
13
14 Minor tweaks sync up with bleadperl:
15 - VMS optimizer tweaks to the Makefile.PL
16 - MacOS support
17 - Added alignment test
18
19 Added example to the MD5 POD that shows how to calculate the
20 digest of Unicode strings.
21
22
23
0dfa9f37 242002-05-05 Gisle Aas <gisle@ActiveState.com>
25
26 Release 2.20
27
28 More synchronization with tweaks Jarkko have done to the
29 bleadperl test suite. This time various EBCDIC hacks.
30
31 Outside PERL_CORE the md5-aaa.t test loaded the wrong version of
32 the module (and would fail if no previous Digest::MD5 was installed).
33 Patch by Mike Stok <mike@stok.co.uk>
34
35
36
5a046520 372002-05-01 Gisle Aas <gisle@ActiveState.com>
38
7e2b0cd5 39 Release 2.19
40
41 One more test suite update from Jarkko to sync it
42 even better with bleadperl.
43
44
45
462002-05-01 Gisle Aas <gisle@ActiveState.com>
47
5a046520 48 Release 2.18
49
50 Changes #12954 and #16173 from bleadperl. Documentation typo fix
51 and some signed/unsigned mismatches that Microsoft's C compiler
52 complained about.
53
54 The EBCDIC-aware md5-aaa.t from bleadperl.
55
56
57
582002-04-25 Gisle Aas <gisle@ActiveState.com>
59
60 Release 2.17
61
62 The SvPVbyte in perl-5.6.1 is buggy. Use the one from 5.7.3
63 instead.
64
65 Give warning if the function interface is used as instance
66 methods: $md5->md5_hex().
67
68
69
db2a39d5 702001-09-07 Gisle Aas <gisle@ActiveState.com>
71
72 Release 2.16
73
74 Sync up with the bleadperl version:
75 - use SvPVbyte() if avaiable
76 - fixes to make the code 'gcc -Wall'-clean
77
78
79
802001-08-27 Gisle Aas <gisle@ActiveState.com>
81
82 Release 2.15
83
84 Avoid exit() in Makefile.PL and bleedperls redefinition of printf
85 in the alignment test program.
86 Patch by Doug MacEachern <dougm@covalent.net>.
87
88
89
902001-07-18 Gisle Aas <gisle@ActiveState.com>
91
92 Release 2.14
93
94 Try to warn if the functional interface is used as methods,
95 i.e. Digest::MD5->md5_hex("foo") will make noise if -w is
96 enabled.
97
98 Document the missing padding for the base64 digests.
99
100 If both XS bootstrap and locating Digest::Perl::MD5 fails
101 reraise the original XS bootstrap exception.
102
103
104
3357b1b1 1052001-03-13 Gisle Aas <gisle@ActiveState.com>
106
107 Release 2.13
108
109 Moved all other Digest:: modules out of the Digest-MD5 dist.
110
111
112
1132000-09-18 Gisle Aas <gisle@ActiveState.com>
114
115 Release 2.12
116
117 Avoid pointer cast warning for machines with bigger ints
118 than pointers. Patch by Robin Barker <rmb1@cise.npl.co.uk>.
119
120
121
1222000-08-19 Gisle Aas <gisle@ActiveState.com>
123
124 Release 2.11
125
126 The fallback code introduced in 2.10 did only work for
127 perl-5.6.0. It should now for for perl5.004 and 5.005
128 as well. Patch by Ville Skyttä <ville@office.popsystems.com>.
129
130
131
1322000-08-18 Gisle Aas <gisle@ActiveState.com>
133
134 Release 2.10
135
136 Digest::MD5 will now try to fallback to the pure perl
137 implementation of Digest::Perl::MD5 if bootstrap fails.
138
139 Added a bit internal paranoia about casting the IV
140 in the Digest::MD5 object to the MD5_CTX* pointer.
141
142
143
1441999-08-06 Gisle Aas <gisle@aas.no>
145
146 Release 2.09
147
148 Documentation update.
149
150
151
1521999-07-28 Gisle Aas <gisle@aas.no>
153
154 Release 2.08
155
156 The addfile() methods could trigger a core dump when passed
157 a filehandle that had failed to open.
158
159
160
1611999-04-26 Gisle Aas <gisle@aas.no>
162
163 Release 2.07
164
165 The Digest::SHA1 module failed on some 64-bit systems, because I
166 assumed there was a correspondence between the U32 size and
167 BYTEORDER. This version use 'unsigned long' as Uwe's original
168 SHA module did.
169
170 The module should now work better when liked statically with perl,
171 because we now use a safer module-loaded test in Digest.pm.
172
173 Assume we know the outcome of the alignment test on VMS. Patch by
174 Chuck Lane <lane@duphy4.physics.drexel.edu>
175
176
177
1781999-03-26 Gisle Aas <gisle@aas.no>
179
180 Release 2.06
181
182 Avoid LONG and BYTE types in SHA.xs as they was in conflict
183 with similar definitions in <winnt.h>.
184
185 Patch by Marko Asplund <aspa@hip.fi> to make the the alignment
186 test program link successfully with sfio-perl.
187
188 Fixed a typo in MD5.xs that might have affected 64-bit systems.
189 Spotted by Nick Ing-Simmons
190
191
192
1931999-03-15 Gisle Aas <gisle@aas.no>
194
195 Release 2.05
196
197 Included Digest::SHA1 based on Uwe Hollerbach's SHA module.
198
199
200
2011999-03-05 Gisle Aas <gisle@aas.no>
202
203 Release 2.04
204
205 Avoid the -o option when compiling alignment test program
206 for Win32 as suggested by Gurusamy Sarathy.
207
208 DEC Compiler bug workaround. Contributed by D Roland Walker
209 <walker@ncbi.nlm.nih.gov>
210
211 Having references to a local variable called "na" was not
212 very safe either. Some older versions of Perl can apparently
213 macroize this into something completely different.
214
215
216
2171999-02-27 Gisle Aas <gisle@aas.no>
218
219 Release 2.03
220
221 Patch from Christopher J. Madsen <chris_madsen@geocities.com> that
222 should help getting the u32align test program to compile with
223 Visual C++ 5 on Windows NT.
224
225 Got rid of references to PL_na.
226
227
228
2291999-01-31 Gisle Aas <gisle@aas.no>
230
231 Release 2.02
232
233 Added a hints file as workaround for an IRIX compiler bug.
234 Contributed by D Roland Walker <walker@ncbi.nlm.nih.gov>.
235
236 Note that the rfc2202 test can still fail on some DEC Alpha,
237 because of a compiler bug that affects the perl 'x' operator.
238 The Digest:: modules should work and be safe to install anyway.
239
240
241
2421998-12-18 Gisle Aas <aas@sn.no>
243
244 Release 2.01
245
246 Some casts and tweaks to make picky compilers more happy.
247
248
249
2501998-11-04 Gisle Aas <aas@sn.no>
251
252 Release 2.00.
253
254 Taken out Digest::SHA1 as this module will be provided from Uwe
255 Hollerbach later.
256
257 Some tweaks to MD2.xs and MD5.xs since "na" disappeared in
258 perl5.005_53
259
260
261
2621998-10-30 Gisle Aas <aas@sn.no>
263
264 Release 1.99_60
265
266 The 1.99_59 release introduced compilation problems for big-endian
267 systems with free U32 alignment. Bug reported, and fix suggested
268 by Paul J. Schinder <schinder@pobox.com>.
269
270
271
2721998-10-28 Gisle Aas <aas@sn.no>
273
274 Release 1.99_59
275
276 Makefile.PL will run a test program to find out if U32 values can
277 be aligned anywhere. This hopefully cures the core dumps reported
278 on Solaris and other big endian systems. Thanks to Graham Barr for
279 debugging this.
280
281
282
2831998-10-28 Gisle Aas <aas@sn.no>
284
285 Release 1.99_58
286
287 Should be very close to a 2.00 release now. Need some success
288 reports from people running on big-endian machines first I think.
289
290 Added a Digest::MD2 implementation.
291
292 Wrote Digest.pm documentation. This define the interface that all
293 Digest:: modules should provide.
294
295 Avoided some code duplication in MD5.xs
296
297 Fixed typo, that prevented Digest::SHA1::sha1_base64() from working.
298
299
300
3011998-10-27 Gisle Aas <aas@sn.no>
302
303 Release 1.99_57
304
305 Rewritten most of the MD5 C code to make it real fast (especially
306 on little-endian machines without alignment restrictions for U32).
307 Compared to MD5-1.7 we can process files 4 times as fast and we
308 digest small stuff in memory 7 times faster. I came to these
309 conclusions after these tests (gcc -O2, i586, Linux):
310
311 First tested calculation of the digest of a 31 MB file, using
312 perl -le 'print Digest::MD5->new->addfile(*STDIN)->hexdigest'
313 and similar stuff:
314
315 MD5-1.7: 21.06s
316 Digest::MD5-1.99_57: 5.23s
317 md5sum (GNU textutils): 4.90s
318
319 As you can see, we do nearly as good as the md5sum program. I
320 think the reason we don't beat md5sum is that perl always insist on
321 loading extra modules like Config.pm, Carp.pm, strict.pm, vars.pm,
322 AutoLoader.pm and DynaLoader.pm. When I simply wrapped the MD5.xs
323 hasher code in a C program I managed to process the file in 4.68s.
324
325 Then we calculated the digest of the same 6 byte sting, 20000
326 times:
327
328 MD5-1.7: 11.81s
329 Digest::MD5-1.99_57: 1.68s
330
331 Digest::MD5 benefit from making this into a plain procedure call
332 instead of a static method call.
333
334
335 Other changes in this release are:
336
337 Documentation update
338
339 Internal MD5.xs cleanup.
340
341 $md5->digest will automatically reset now.
342
343 Digest::HMAC methods add() and addfile() did not return the
344 corret object.
345
346 Added Digest.pm loading module. I am not sure this is a good idea.
347
348 Added Digest::SHA1 and Digest::HMAC_SHA1 module. The Digest::SHA1
349 module is just a wrapper around SHA.pm. I hope to get the author
350 of SHA.pm to move his module to the Digest:: category.
351
352
353
3541998-10-25 Gisle Aas <aas@sn.no>
355
356 Release 1.99_56
357
358 Fix memcpy_byteswap() function in MD5.xs. Must be careful with
359 htovl() as it might evaluate its arguments more than once.
360
361
362
3631998-10-25 Gisle Aas <aas@sn.no>
364
365 Release 1.99_55
366
367 Grahams HMAC_MD5.pm splitted into two modules. Digest::HMAC and
368 Digest::HMAC_MD5. Also provide functional interface. Documentation
369 is still lacking.
370
371 Included RFC 2202 based test for HMAC-MD5.
372
373
374
3751998-10-24 Gisle Aas <aas@sn.no>
376
377 Release 1.99_54
378
379 Included HMAC_MD5.pm, contributed by Graham Barr <gbarr@ti.com>.
380
381 I have a hard time to make up my mind :-) md5_bin() renamed back
382 to md5(). Functions are not exported by default any more.
383
384 Try to Encode/Decode with memcpy_byteswap for 32-bit big-endian
385 machines.
386
387
388
3891998-10-23 Gisle Aas <aas@sn.no>
390
391 Release 1.99_53
392
393 Renamed core module as Digest::MD5. Leave a MD5.pm stub for
394 legacy code.
395
396 The md5() function renamed as md5_bin().
397
398 The constructor, Digest::MD5->new, no longer takes any extra
399 arguments.
400
401 Added some new tests.
402
403 Updated the documentation.
404
405 $md5->b64digest implemented with same base64 encoder as md5_base64.
406
407
408
4091998-10-23 Gisle Aas <aas@sn.no>
410
411 Release 1.99_52
412
413 Patch from Graham Barr which make it work for big-endian machines
414 again.
415
416
417
4181998-10-22 Gisle Aas <aas@sn.no>
419
420 Release 1.99_51
421
422 The MD5 class is now subclassable.
423
424 The add() and addfile() methods now return $self.
425
426 The reset() method is just an alias for new().
427
428 The constructor (MD5->new) now takes optional arguments which are
429 automatically added. It means that we can now write:
430
431 MD5->new($data)->hexdigest;
432
433 New $md5->b64digest method.
434
435 New functions that are exported on request: md5, md5_hex, md5_base64
436
437 Included RFC 1321
438
439 Barely started to update the documentation.
440
441
442
4431998-10-22 Gisle Aas <aas@sn.no>
444
445 Release 1.99_50
446
447 Much better performance (more than twice as fast now). Mostly
448 because we use Copy/Zero instead of the original MD5_memcpy and
449 MD5_memset functions.
450
451 The addfile() and hexdigest() methods are now XS implemented.
452
453 All RSA functions now included in MD5.xs and made static.
454
455 Use perl's Copy/Zero.
456
457 Random cleanup, simplifications and reformatting.
458 Merged things better with the perl configuration.
459
460
461
462Neil Winton's versions below:
463
464
465*** 96/06/20 Version 1.7
466
467MD5 is now completely 64-bit clean (I hope). The basic MD5 code uses
46832-bit quantities and requires a typedef UINT4 to be defined in
469global.h. Perl configuration data (the value of BYTEORDER) is used to
470determine if unsigned longs have 4 or 8 bytes. On 64-bit platforms (eg
471DEC Alpha) then it assumes that "unsigned int" will be a 32-bit type.
472If this is incorrect then adding -DUINT4_IS_LONG to the DEFINES line in
473Makefile.PL will override this.
474
475On some machines (at least Cray that I know of) there is no 32-bit
476integer type. In this case defining TRUNCATE_UINT4 (which is done
477automatically for a Cray) will ensure that 64-bit values are masked
478down to 32 bits. I have done my best to test this but without easy
479access to a true 64-bit machine I can not totally guarantee it (unless
480anyone wants to lend me a spare Cray :-)
481
482There is one remaining limitation for 64-bit enabled processors. The
483amount of data passed to any single call to the underlying MD5
484routines is limited to (2^32 - 1) bytes -- that's 4 gigabytes. I'm
485sorry if that's a real problem for you ...
486
487And finally, a minor complilation warning (unsigned char * used with
488function having char * prototype) has also been eliminated.
489
490*** 96/04/09 Version 1.6
491
492Re-generated module framework using h2xs to pick up the latest module
493conventions for versions etc. You can now say "use MD5 1.6;" and things
494should work correctly. MD5.pod has been integrated into MD5.pm and
495CHANGES renamed to Changes. There is a fairly comprehensive test.pl
496which can be invoked via "make test". There are no functional changes
497to the MD5 routines themselves.
498
499*** 96/03/14 Version 1.5.3
500
501Fixed addfile method to accept type-glob references for the file-handle
502(eg \*STDOUT). This is more consistent with other routines and is now the
503recommended way of passing file-handles. The documentation now gives more
504examples as to how the routines might be used.
505
506*** 96/03/12 Version 1.5.2
507
508Minor fixes from Christopher J Madsen <madsen@computek.net> to provide
509support for building on OS/2 (and to work arround a perl -w bug).
510
511Remove warning about possible difference between add('foo', 'bar') and
512add('foobar'). This is not true (it may have been true in the earliest
513version of the module but is no longer the case).
514
515*** 96/03/08 Version 1.5.1
516
517Add CHANGES file to make it easier for people to figure out what has
518been going on. (Meant to do this as part of 1.5)
519
520*** 96/03/05 Version 1.5
521
522Add hash() and hexhash() methods at the suggestion/request of Gary
523Howland <gary@kampai.euronet.nl> before inclusion in a wider library
524of cryptography modules.
525
526*** 96/02/27 Version 1.4
527
528Finally fixed the pesky Solaris dynamic loading bug. All kudos to Ken
529Pizzini <kenp@spry.com>!
530
531*** 95/11/29 Version 1.3.1
532
533Add explanations of current known problems.
534
535*** 95/06/02 Version 1.3
536
537Fix problems with scope resolution in addfile() reported by
538Jean-Claude Giese <Jean-Claude.Giese@loria.fr>. Basically ARGV is
539always implicitly in package main while other filehandles aren't.
540
541*** 95/05/23 Version 1.2.1
542
543[Changes pre 1.2.1 not recorded]