Re: md5 version 2.0.4 to 2.0.5
- From: Eric Hassold <hassold@xxxxxxxxxxx>
- Date: Wed, 30 Jan 2008 21:59:52 +0100
Hi,
Clint wrote :
All,
I have noticed that since md5 has went to version 2.0.5 that I have
seen different results from previous versions of md5. I have older
apps that use md5 version 2.0.4 and if I upgrade md5 to 2.0.5., the
values return from the ::md5::md5 -hex command are different. For
example:
md5 v. 2.0.4:
-> ::md5::md5 -hex whatupwitdat
39054E44B13795EBC148CF17FE5ED22D
md5 v. 2.0.5
-> ::md5::md5 -hex whatupwitdat
2C9DEC74AE2AA10452D8820C117C6A4D
Anyone know if there is some new switch in version 2.0.5 for backward
compatible, or do I have to go back to all my old apps and rework if I
upgrade to version 2.0.5?
thanks,
md5sum is strictly defined, and must not change, neither from one version of md5 package to another, nor from tcllib's md5 implementation to other implementation. Correct digest for "whatupwitdat" is "3905...", so what you get with 2.0.5 is broken. However, using md5 2.0.5 from tcllib 1.10, I can't reproduce the problem you report, and get correct answer. So it looks like your md5 distrib is broken. Which platform are you running? Also, check if your md5 package falls back to one of the accelerator (critcl, cryptkit or trf) instead of the pure Tcl implementation.
Eric
.
- Follow-Ups:
- Re: md5 version 2.0.4 to 2.0.5
- From: Clint
- Re: md5 version 2.0.4 to 2.0.5
- References:
- md5 version 2.0.4 to 2.0.5
- From: Clint
- md5 version 2.0.4 to 2.0.5
- Prev by Date: Re: Tcl 8.5 and Expect
- Next by Date: Re: Why doesn't foreach return a value
- Previous by thread: md5 version 2.0.4 to 2.0.5
- Next by thread: Re: md5 version 2.0.4 to 2.0.5
- Index(es):
Relevant Pages
|