def DecryptMultipleInt64s(self, ciphertext):
    if not isinstance(ciphertext, int) and not isinstance(ciphertext, long):
      raise ValueError('Expected int or long type ciphertext but got: %s' %
                       type(ciphertext))
    plaintext = self.Decrypt(ciphertext)
    decrypted_numbers = []
    for unused_i in range(PACKING_LIMIT):
      entry = plaintext & _ONES_96
      plaintext >>= PACKING_BIT_SIZE
      decrypted_numbers.insert(0, self._Unwrap96bitTo64bit(entry))
    return decrypted_numbers
Paillier decryption of ciphertext into multiple int64 values.
dataset/ETHPy150Open google/encrypted-bigquery-client/src/paillier.py/Paillier.DecryptMultipleInt64s