Skip to content

Releases: data61/python-paillier

v1.5.1

20 Apr 01:44
59ccc1d
Compare
Choose a tag to compare

What's Changed

  • Fix issues with overflows by @nbgl in #73
  • Default keysize increased to 3072 by @hardbyte in #66
  • Using gmpy2's mulmod to accelerate the mulmod operation by @tanjuntao in #99

Updates to examples

  • federated learning example by @wilko77 in #64
  • make learning rate independent of dataset size by @wilko77 in #69

New Contributors

Full Changelog: 1.4.0...1.5.0

v1.4.0

20 Apr 02:22
753f7cd
Compare
Choose a tag to compare

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.

v1.3.1

25 Jan 03:22
72c3e4d
Compare
Choose a tag to compare
Fix sphinx build (#56)

* Grab version from setup.py when build docs
* Move to one source of package version

1.3.0

08 Feb 04:27
19ab97d
Compare
Choose a tag to compare

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.