import hashlib


def sha256_hash(b: bytes) -> bytes:
    """
    sha256_hash hashes the given bytes with SHA256

    Args:
        b (bytes): bytes to hash

    Returns:
        bytes: The hash result
    """
    return hashlib.sha256(b).digest()