Re: md5 version 2.0.4 to 2.0.5
- From: Clint <ckhannah@xxxxxxxxx>
- Date: Wed, 30 Jan 2008 13:12:31 -0800 (PST)
On Jan 30, 3:59 pm, Eric Hassold <hass...@xxxxxxxxxxx> wrote:
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
The 2.0.4 version I am using is on a Linux box using tcl 8.4.12. The
2.0.5 version I am using is on a Mac (Tiger) using tcl 8.4.16.
Thanks,
.
- Follow-Ups:
- Re: md5 version 2.0.4 to 2.0.5
- From: Gerald W. Lester
- Re: md5 version 2.0.4 to 2.0.5
- References:
- md5 version 2.0.4 to 2.0.5
- From: Clint
- Re: md5 version 2.0.4 to 2.0.5
- From: Eric Hassold
- md5 version 2.0.4 to 2.0.5
- Prev by Date: Re: Why doesn't foreach return a value
- Next by Date: Re: Why doesn't foreach return a value
- Previous by thread: Re: 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
|