[][src]Module emerald_city::paillier

Re-exports

pub use paillier::core::*;
pub use paillier::encoding::*;
pub use paillier::keygen::*;
pub use paillier::traits::*;
pub use curv::arithmetic::num_bigint::BigInt;

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.

zkproofs

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.