import hashlib


def blake2b_hash(b: bytes) -> bytes:
    """
    blake2b_hash hashes the given bytes with BLAKE2b (optimized for 64-bit platforms)

    Args:
        b (bytes): bytes to hash

    Returns:
        bytes: The hash result
    """
    return hashlib.blake2b(b, digest_size=32).digest()