import hashlib
import ctypes


def size_t_hash(key):
    """Hash the key using size_t.

    Args:
        key (str): The key to hash.

    Returns:
        str: The hashed key.
    """
    hash_digest = hashlib.blake2b(key.encode()).hexdigest()  # pylint: disable=no-member
    return '%u' % ctypes.c_size_t(int(hash_digest, 16)).value