(self, e_x, e_y, exponent)
return PaillierEncryptedNumber(self.public_key, int(ciphertext), exponent)
return the integer E(x + y) given ints E(x) and E(y).
return the integer E(x + y) given ints E(x) and E(y).
return the integer E ( x + y ) given ints E ( x ) and E ( y ) .
def __raw_add(self, e_x, e_y, exponent):
        """return the integer E(x + y) given ints E(x) and E(y).
        """
        ciphertext = gmpy_math.mpz(e_x) * gmpy_math.mpz(e_y) % self.public_key.nsquare

        return PaillierEncryptedNumber(self.public_key, int(ciphertext), exponent)
def __raw_add ( self , e_x , e_y , exponent ) : ciphertext = gmpy_math . mpz ( e_x ) * gmpy_math . mpz ( e_y ) % self . public_key . nsquare return PaillierEncryptedNumber ( self . public_key , int ( ciphertext ) , exponent )