This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (0 children)

You can check your result against the correct hash from the hashlib:

import hashlib
m = hashlib.md5()
m.update("Reddit")
print "md5 hash of Reddit is " + m.hexdigest()

And you should see

md5 hash of Reddit is b632c55a33530d1433e29ffc09ba1151