(self, ciphertable, mode)
Process the input Table as v
        dec_v if mode == 0
        decode(dec_v) if mode == 1
        :param ciphertable: Table
        :param mode: int
        :return:
Process the input Table as v
        dec_v if mode == 0
        decode(dec_v) if mode == 1
        :param ciphertable: Table
        :param mode: int
        :return:
Process the input Table as v dec_v if mode == 0 decode ( dec_v ) if mode == 1 : param ciphertable : Table : param mode : int : return :
def map_values_decrypt(self, ciphertable, mode):
        """
        Process the input Table as v
        dec_v if mode == 0
        decode(dec_v) if mode == 1
        :param ciphertable: Table
        :param mode: int
        :return:
        """
        if mode == 0:
            return ciphertable.mapValues(lambda v: self.cipher_core.decrypt(v))
        elif mode == 1:
            f = functools.partial(self.cipher_core.decrypt, decode_output=True)
            return ciphertable.mapValues(lambda v: f(v))
        else:
            raise ValueError("Unsupported mode for crypto_executor map_values encryption")
def map_values_decrypt ( self , ciphertable , mode ) : if mode == 0 : return ciphertable . mapValues ( lambda v : self . cipher_core . decrypt ( v ) ) elif mode == 1 : f = functools . partial ( self . cipher_core . decrypt , decode_output = True ) return ciphertable . mapValues ( lambda v : f ( v ) ) else : raise ValueError ( "Unsupported mode for crypto_executor map_values encryption" )