MD5 problem

Christos TZOTZIOY Georgiou tzot at
Sat Jul 2 15:25:48 CEST 2005

On Mon, 13 Jun 2005 14:00:33 +0200, rumours say that fargo
<fargo_01 at> might have written:

>If I use the md5 module with .txt files, it'ok.
>The Problem comes from the .msg files. I get the same signature for 
>every .msg file I try to hash with the md5 algorithm. I think some 
>character are strange for python, and makes it stop before the end of 
>the .msg file.

FYI: the character that was strange for Windows (not Python) was
chr(26), or Ctrl-Z, or end-of-file, which is special for files opened as
text instead of binary.
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians

More information about the Python-list mailing list