def METHOD_NAME(data_instances, curve_instance, reserve_original_key=False, reserve_original_value=False):
    """
    Encrypt the key (ID) of input Table
    :param curve_instance: curve object
    :param data_instance: Table
    :param reserve_original_key: (enc_key, ori_key) if reserve_original_key == True, otherwise (enc_key, -1)
    : param reserve_original_value:
        (enc_key, (ori_key, val)) for reserve_original_key == True and reserve_original_value==True;
        (ori_key, (enc_key, val)) for only reserve_original_value == True.
    :return:
    """
    mode = EcdhIntersect.get_mode(reserve_original_key, reserve_original_value)
    return curve_instance.map_sign(data_instances, mode=mode)