md5 differences

Python python at rgbaz.eu
Wed Sep 10 14:06:21 EDT 2008


On 10 sep 2008, at 19:48, Grant Edwards wrote:

> On 2008-09-10, Wojtek Walczak <gminick at bzt.bzt> wrote:
>> On Wed, 10 Sep 2008 12:39:24 -0500, Grant Edwards wrote:
>>
>>>> The strange thing is that
>>>>>>> md5.new("/Volumes/data/Arno/test.txt").hexdigest()
>>>> returns '8dd66a1592e2a8c3ab160822fb237f4d' on my machine.
>>>
>>> Same here.
>>
>> I guess it will be the same for vast majority of us ;-)
>> The question is why is it '90364ed45b452d43378629c20543a81d'
>> for the OP? :-)
>
> The smart money is betting on "because the OP goofed when he
> was cutting/pasting stuff from his terminal window into his
> posting."
>
I did! I did!

my bad... i cut some crap from the path to make it a bit easier to read
but that was before the time i knew it was checksumming the
actual path in stead of the contents of the file.
So I figured it didn't matter...

;)





More information about the Python-list mailing list