def dh_number_digest(g_val: int, p_val: bytes) -> int:
    """Determine hash value for given DH parameters.

    Arguments:
        g_val: the value g
        p_val: the value p

    Returns:
        a hash value for the given DH parameters.
    """

    return hash((g_val, p_val))