Last active
October 20, 2016 14:59
-
-
Save therako/cbae518352e50b991a2a3003ce16ee36 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/python | |
import base64 | |
import hashlib | |
result = base64.b64encode(hashlib.sha1("test").digest()) | |
print result |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment