Skip to content

Instantly share code, notes, and snippets.

@samisalkosuo
Created November 28, 2014 06:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samisalkosuo/ce0643a30c3c27580498 to your computer and use it in GitHub Desktop.
Save samisalkosuo/ce0643a30c3c27580498 to your computer and use it in GitHub Desktop.
Python SHA256
import hashlib
h = hashlib.new('sha256')
h.update(str)
print h.hexdigest()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment