Skip to content

Instantly share code, notes, and snippets.

@offby1
Created November 19, 2017 00:10
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 offby1/52835e4a11a7a0098f898856a15b332c to your computer and use it in GitHub Desktop.
Save offby1/52835e4a11a7a0098f898856a15b332c to your computer and use it in GitHub Desktop.
import hashlib
for n in range(0, 100):
hash_rep = hashlib.sha256()
hash_rep.update(str(n).encode ('utf-8'))
print(hash_rep.hexdigest())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment