Oaty has asked for the wisdom of the Perl Monks concerning the following question:
Both produced '40d704470259297f93bee626c12b71fb' as output. This cgi script is running on a load balanced server and inserting records into a central database. Not using mod_perl. Does MD5 not use the whole string? Any light that you could shed would be appreciated. Oaty$string1="CA" . "Los Angeles" . "1440x900" . "en-us" . "Mozilla/4.0 (c +ompatible; MSIE 6.0; Windows NT 5.1; SV1)" . ""; $string2="CA" . "Los Angeles" . "1280x1024" . "en-us" . "Mozilla/4.0 ( +compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Medi +a Center PC 5.0; .NET CLR 3.0.04506)" . "";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: md5_hex diff input produces same output?
by Fletch (Bishop) on Mar 24, 2009 at 16:26 UTC | |
by Oaty (Acolyte) on Mar 24, 2009 at 16:56 UTC | |
by Corion (Patriarch) on Mar 24, 2009 at 17:03 UTC | |
by ikegami (Patriarch) on Mar 24, 2009 at 17:33 UTC | |
|
Re: md5_hex diff input produces same output?
by andreas1234567 (Vicar) on Mar 25, 2009 at 08:31 UTC |