Crate paillier_common

Crate paillier_common 

Source

Re-exports§

pub use crate::core::*;
pub use encoding::*;
pub use keygen::*;
pub use traits::*;

Modules§

core
Core Paillier encryption scheme supporting ciphertext addition and plaintext multiplication.
encoding
Various coding schemes to be used in conjunction with the core Paillier encryption scheme.
keygen
Key generation following standard recommendations.
traits
Abstract operations exposed by the library.

Structs§

DecryptionKey
Private decryption key.
EncryptionKey
Public encryption key.
Keypair
Keypair from which encryption and decryption keys can be derived.
MinimalDecryptionKey
Private decryption key with no precomputed values.
MinimalEncryptionKey
Public encryption key with no precomputed values.
Paillier
Main struct onto which most operations are added.
RawCiphertext
Encrypted message without type information.
RawPlaintext
Unencrypted message without type information.

Type Aliases§

BigInt
Expose selected BigInt type (defaults to GMP)