scicrypt_he/
lib.rs

1#![warn(missing_docs, unused_imports)]
2
3//! _This is a part of **scicrypt**. For more information, head to the
4//! [scicrypt](https://crates.io/crates/scicrypt) crate homepage._
5//!
6//! This crate implements several well-known partially homomorphic cryptosystems, including
7//! Paillier, ElGamal and RSA. We also implement several threshold versions of the cryptosystems,
8//! where multiple keys must be used to successfully decrypt a ciphertext.
9
10mod constants;
11
12/// Partially homomorphic cryptosystems with one key.
13pub mod cryptosystems;
14
15/// Partially homomorphic threshold cryptosystems that require multiple parties to decrypt.
16pub mod threshold_cryptosystems;
17
18pub use scicrypt_traits;