Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created January 18, 2021 12:37
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 amankharwal/0e49eb7d0dc311eb696e85349f2217f6 to your computer and use it in GitHub Desktop.
Save amankharwal/0e49eb7d0dc311eb696e85349f2217f6 to your computer and use it in GitHub Desktop.
from hashlib import sha256
MAX_NONCE = 100000000000
def SHA256(text):
return sha256(text.encode("ascii")).hexdigest()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment