in reply to md5_hex diff input produces same output?
A simple test script shows that that's not the case.
use strict; use Digest::MD5 qw( md5_hex ); my $string1="CA" . "Los Angeles" . "1440x900" . "en-us" . "Mozilla/4.0 + (compatible; MSIE 6.0; Windows NT 5.1; SV1)" . ""; my $string2="CA" . "Los Angeles" . "1280x1024" . "en-us" . "Mozilla/4. +0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; M +edia Center PC 5.0; .NET CLR 3.0.04506)" . ""; print md5_hex( $string1 ), "\n", md5_hex( $string2 ), "\n"; exit 0; __END__ 256645dc3bb33cfd395c51faf4241cfc c3fbc65ae0b12ee4cd22ccadd3d9a3f7
Something Else Is Wrong™, but then you haven't shown any actual code so it's all pretty much going to be conjecture.
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: md5_hex diff input produces same output?
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 |