On Wed, 10 Sep 2008 18:25:19 +0200 Python <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED]:~% echo "hello" | md5 > b1946ac92492d2347c6235b4d2611184 > [...] > >>> md5.new("hello").hexdigest() > '5d41402abc4b2a76b9719d911017c592' > > How do I get the same results?
Send the same thing. >>> md5.new("hello\n").hexdigest() 'b1946ac92492d2347c6235b4d2611184' -- D'Arcy J.M. Cain <[EMAIL PROTECTED]> | Democracy is three wolves http://www.druid.net/darcy/ | and a sheep voting on +1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner. -- http://mail.python.org/mailman/listinfo/python-list