MD5 Help Page

  • Thread starter Daniel 'Dang' Griffith
  • Start date
D

Daniel 'Dang' Griffith

I'm referring to the text in
http://www.python.org/doc/2.4.2/lib/module-md5.html, which shows the
same thing I see in the Windows version of the help.

The two examples show:

'\xbbd\x9c\x83\xdd\x1e\xa5\xc9\xd9\xde\xc9\xa1\x8d\xf0\xff\xe9'

as the output, and that is indeed what I see when I run the examples.

But if I use hexdigest() instead of digest(), I get this result:

'bb649c83dd1ea5c9d9dec9a18df0ffe9'

I don't understand the difference. Specifically, in the output of
digest, it shows a 'd' where I expect to see \x64. What causes this
difference?

Thanks,
--dang
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,737
Latest member
Georgeengab

Latest Threads

Top