import hashlib


def SHA256(b: bytes) -> bytes:
    """
    Wrapper around native Python implementation.

    :param b: The message to be hashed.
    :return: The hash digest of the message.
    """
    h = hashlib.sha256()
    h.update(b)
    return h.digest()