Crate paillier[][src]

Re-exports

pub use core::*;
pub use encoding::*;
pub use traits::*;
pub use keygen::*;
pub use proof::*;
pub use arithimpl::gmpimpl::BigInt;

Modules

arithimpl

Supported underlying libraries for arbitrary precision arithmetic.

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.

proof
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.