Created
October 27, 2015 17:53
-
-
Save taddeimania/236d93ddd67aa40e5952 to your computer and use it in GitHub Desktop.
MD5 hashing
This file contains hidden or 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
import md5 | |
m = md5() | |
m = md5(b"http://joel.io") | |
m.hexdigest() | |
# >> 'c9bd9363c90e6a3a7edd3f5114bfffd2' | |
m.hexdigest()[:10] | |
# >> 'c9bd9363c9' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment