1 unstable release

0.1.0 Nov 24, 2023

#2529 in Cryptography

Download history 26/week @ 2024-06-30 105/week @ 2024-07-07 80/week @ 2024-07-14 94/week @ 2024-07-21 93/week @ 2024-07-28 21/week @ 2024-08-04 16/week @ 2024-08-11 60/week @ 2024-08-18 88/week @ 2024-08-25 9/week @ 2024-09-01 24/week @ 2024-09-08 124/week @ 2024-09-15 101/week @ 2024-09-22 577/week @ 2024-09-29 177/week @ 2024-10-06 82/week @ 2024-10-13

953 downloads per month
Used in 2 crates (via paillier-zk)

MIT/Apache and LGPL-3.0+

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