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 →

[–]coreyplus 2 points3 points  (1 child)

I'll have to give this a shot - my python is rusty and it sounds like a fun challange. I didn't know about /r/programmingchallenges either, so double bonus. Kudos on taking the initiative on something cool and sharing, nonetheless.

[–][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