Crate kzen_paillier[][src]


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


Core Paillier encryption scheme supporting ciphertext addition and plaintext multiplication.

Various coding schemes to be used in conjunction with the core Paillier encryption scheme.

Key generation following standard recommendations.

Abstract operations exposed by the library.


Big integer

Private decryption key.

Public encryption key.

Keypair from which encryption and decryption keys can be derived.

Private decryption key with no precomputed values.

Public encryption key with no precomputed values.

Main struct onto which most operations are added.

Encrypted message without type information.

Unencrypted message without type information.