The hash function takes an input byte array and turns it into a valid SHA-256 hash.
the SHA-256 hash.
the input byte array to be hashed.