Releases: data61/python-paillier
Releases · data61/python-paillier
v1.5.1
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
- @tanjuntao made their first contribution in #99
Full Changelog: 1.4.0...1.5.0
v1.4.0
Version 1.4.0 (2018-04-19)
Complete pure Python fallback implementation.
Features
invert
now available withoutgmpy2
, implemented using the extended
Euclidean algorithm (extended_euclidean_algorithm
)getprimeover
now available withoutgmpy2
, along with a probabilitic
primality testisprime
based on the Miller-Rabin test (miller_rabin
)
Many thanks to Quentin Santos for this contribution.
v1.3.1
1.3.0
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
andq
attribute instead oflambda
andmu
. 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
.