2 releases
new 0.1.1 | Apr 15, 2025 |
---|---|
0.1.0 | Nov 24, 2023 |
#2620 in Cryptography
240 downloads per month
Used in 2 crates
(via paillier-zk)
30KB
574 lines
Optimized Paillier encryption scheme
Library implements Paillier encryption scheme with optimization such as:
- Faster encryption and homomorphic operations via Chinese Remainder Theorem when the private key is known
- Faster secret key generation (a.k.a faster safe primes generation)
Built on top of rug
big integers library (which is based on GMP).
Dependencies
~21MB
~502K SLoC