Md5 is different in Windows and Linux

Denis McMahon denismfmcmahon at gmail.com
Mon Mar 2 05:24:17 EST 2015


On Mon, 02 Mar 2015 12:04:46 +0545, Sarvagya Pant wrote:

> When I run the program I get the checksum value:
> 2f9cc8da53ee89762a34702f745d2956
> 
> But on this site http://onlinemd5.com/ and on linux it has value
> E10D4E3847713472F51BC606852712F1.
> 
> Why is there difference in value of Checksum computed by python in
> windows and other system.?

Perhaps windows file io is padding the file to the block size? Or maybe 
the windows version has different end of lines.

-- 
Denis McMahon, denismfmcmahon at gmail.com



More information about the Python-list mailing list