def METHOD_NAME(event):
    """
    Extracts the sha256 digest from an event
    """
    for digest in event["Digests"]:
        if digest["AlgorithmId"] == "sha256":
            return {"sha256": f"0x{digest['Digest']}"}