This is a part of scicrypt. For more information, head to the scicrypt crate homepage.
This crate implements several well-known partially homomorphic cryptosystems, including Paillier, ElGamal and RSA. We also implement several threshold versions of the cryptosystems, where multiple keys must be used to successfully decrypt a ciphertext.