md5 differences

Richard Brodie R.Brodie at rl.ac.uk
Wed Sep 10 12:30:30 EDT 2008


"Python" <python at rgbaz.eu> wrote in message 
news:mailman.799.1221063937.3487.python-list at python.org...

> here's an example:
> Arno at Computer:~% echo "hello" | md5
> b1946ac92492d2347c6235b4d2611184
> How do I get the same results?

Checksum the same string.

>>> md5.new("hello\n").hexdigest()
'b1946ac92492d2347c6235b4d2611184' 





More information about the Python-list mailing list