Python Paillier Versions Save

A library for Partially Homomorphic Encryption in Python

1.5.1

2 years ago

What's Changed

Updates to examples

New Contributors

Full Changelog: https://github.com/data61/python-paillier/compare/1.4.0...1.5.0

1.4.0

6 years ago

Version 1.4.0 (2018-04-19)

Complete pure Python fallback implementation.

Features

  • invert now available without gmpy2, implemented using the extended Euclidean algorithm (extended_euclidean_algorithm)
  • getprimeover now available without gmpy2, along with a probabilitic primality test isprime based on the Miller-Rabin test (miller_rabin)

Many thanks to Quentin Santos for this contribution.

1.3.1

6 years ago

1.3.0

7 years ago

Version 1.3.0 (2017-02-08)

Changes to enhance performance. Using Chinese Remainder Theorem for faster decryption. Exploit property of the generator to speed up encryption.

Note both the api and the serialisation has changed.

  • A private key now has a p and q attribute instead of lambda and mu. To continue being able to create a private key using the totient use the PaillierPrivateKey.from_totient static constructor.
  • The serialization and constructor of a public key now only requires n.