import hashlib


def hash_content(content: bytes) -> str:
    """
    Generate an sha256sum for the given content.
    """
    hash_object = hashlib.sha256()
    hash_object.update(content)
    return hash_object.hexdigest()