hash using sha_256 in python code example
Example 1: python hashlib.sha512()
from hashlib import sha512
print(sha512('hello'.encode()).hexdigest())
Example 2: sha 256 python
import hashlib
secret_thing = hashlib.sha256()
# Keep in mind you add on to the already existing string when you .update the same thing.
secret_thing.update(b"hahahahaahhahaa nobody will guess my secret message")
secret_thing.digest_size
secret_thing.block_size