Created
August 1, 2011 20:36
-
-
Save omarish/1118928 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
A1 = 'd64a84456adc959f56de6af685d0dadd' # "hard", according to google | |
B1 = '8d8a1b73876ca678cc3afa372e5199de' | |
import hashlib | |
m = hashlib.md5() | |
m.update('problems') | |
B2 = m.hexdigest() | |
print B2 == B1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment