(self, ciphertext, decode_output=False)
If decode, then call int_to_str() method to decode the output plaintext
        :param ciphertext: PohligHellmanCiphertext
        :param decode_output: bool
        :return: PohligHellmanCiphertext / str
If decode, then call int_to_str() method to decode the output plaintext
        :param ciphertext: PohligHellmanCiphertext
        :param decode_output: bool
        :return: PohligHellmanCiphertext / str
If decode then call int_to_str () method to decode the output plaintext : param ciphertext : PohligHellmanCiphertext : param decode_output : bool : return : PohligHellmanCiphertext / str
def decrypt_single_val(self, ciphertext, decode_output=False):
        """
        If decode, then call int_to_str() method to decode the output plaintext
        :param ciphertext: PohligHellmanCiphertext
        :param decode_output: bool
        :return: PohligHellmanCiphertext / str
        """
        if type(ciphertext) == PohligHellmanCiphertext:
            ciphertext = ciphertext.message
        elif type(ciphertext) == str:
            ciphertext = conversion.str_to_int(ciphertext)

        if decode_output:
            return conversion.int_to_str(powmod(ciphertext, self.exponent_inverse, self.mod_base))
        else:
            return PohligHellmanCiphertext(powmod(ciphertext, self.exponent_inverse, self.mod_base))
def decrypt_single_val ( self , ciphertext , decode_output = False ) : if type ( ciphertext ) == PohligHellmanCiphertext : ciphertext = ciphertext . message elif type ( ciphertext ) == str : ciphertext = conversion . str_to_int ( ciphertext ) if decode_output : return conversion . int_to_str ( powmod ( ciphertext , self . exponent_inverse , self . mod_base ) ) else : return PohligHellmanCiphertext ( powmod ( ciphertext , self . exponent_inverse , self . mod_base ) )