1 unstable release

0.1.0 Nov 24, 2023

#2635 in Cryptography

Download history 92/week @ 2024-07-22 92/week @ 2024-07-29 22/week @ 2024-08-05 16/week @ 2024-08-12 62/week @ 2024-08-19 91/week @ 2024-08-26 4/week @ 2024-09-02 35/week @ 2024-09-09 112/week @ 2024-09-16 125/week @ 2024-09-23 556/week @ 2024-09-30 178/week @ 2024-10-07 82/week @ 2024-10-14 103/week @ 2024-10-21 26/week @ 2024-10-28 142/week @ 2024-11-04

357 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