Created
January 12, 2019 14:39
-
-
Save ajitesh123/6b4e0b56ef75d06c3c33164c463d4350 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
>>> import hashlib | |
>>> def hash(mystring): | |
... hash_object=hashlib.md5(mystring.encode()) | |
... print(hash_object.hexdigest()) | |
... | |
>>> | |
>>> hash("Kellogg first block") | |
10a4826ea290595ef96e945b31054254 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment