def METHOD_NAME(self, type_int=True, type_float=True):
    if self.method in ["Paillier", "IPCL"]:
        key = self.public_key
    else:
        key = None
    encrypt_float_data = []
    encrypt_int_data = []
    float_data = np.random.uniform(-1e9, 1e9, size=self.data_num)
    int_data = np.random.randint(-1000, 1000, size=self.data_num)
    if self.is_ipcl:
        if type_float:
            encrypt_float_data = key.encrypt(float_data)
        if type_int:
            encrypt_int_data = key.encrypt(int_data)
    else:
        if type_float:
            for i in float_data:
                encrypt_float_data.append(key.encrypt(i))
        if type_int:
            for i in int_data:
                encrypt_int_data.append(key.encrypt(i))
    return float_data, encrypt_float_data, int_data, encrypt_int_data