def METHOD_NAME(b):
    """Compute digest of the bytes `b` using the Blake2 hash function.
    Returns a unsigned 64bit integer.
    """
    return int.from_bytes(blake2b(b, digest_size=8).digest(), "big")