def testEncryptDecryptMultipleInt64s(self):
    plain_numbers = [56, -34, 23, 9, 15, -15, 0]
    ciphertext = _PAILLIER1.EncryptMultipleInt64s(plain_numbers)
    decryption = _PAILLIER1.DecryptMultipleInt64s(ciphertext)
    self.assertEquals(plain_numbers, decryption)
    plain_numbers = [-9, 0, 0, 0, 2**63 - 1, -2**63, 100]
    ciphertext = _PAILLIER1.EncryptMultipleInt64s(plain_numbers)
    decryption = _PAILLIER1.DecryptMultipleInt64s(ciphertext)
    self.assertEquals(plain_numbers, decryption)
    plain_numbers = [123456789L, 314159265359L, 271828182846L, -987654321L,
                     161803398874L, 1414213562373095L, 0L]
    ciphertext = _PAILLIER1.EncryptMultipleInt64s(plain_numbers)
    decryption = _PAILLIER1.DecryptMultipleInt64s(ciphertext)
    self.assertEquals(plain_numbers, decryption)
dataset/ETHPy150Open google/encrypted-bigquery-client/src/paillier_test.py/PaillierTest.testEncryptDecryptMultipleInt64s/original