Skip to content

Instantly share code, notes, and snippets.

Created February 7, 2009 16:37
Show Gist options
  • Save anonymous/59928 to your computer and use it in GitHub Desktop.
Save anonymous/59928 to your computer and use it in GitHub Desktop.
# encoding: utf-8
import hashlib
import sys
if __name__ == '__main__':
i = bytes(sys.argv[1],'utf8')
k = hashlib.md5(i).hexdigest()
print(k)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment