1 unstable release
0.1.0 | Nov 24, 2023 |
---|
#2529 in Cryptography
953 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
~503K SLoC