Skip to content

Instantly share code, notes, and snippets.


Erick Clasen erickclasen

View GitHub Profile
erickclasen /
Created May 6, 2022
Demonstrates SHA256 hashing. Shows a basic proof of work example as well.
Original seed idea from
import hashlib
from datetime import datetime
mystring = input('Enter String to hash: ')
# Assumes the default UTF-8
hash_object = hashlib.sha256(mystring.encode())