tfhe 1.6.1

TFHE-rs is a fully homomorphic encryption (FHE) library that implements Zama's variant of TFHE.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Module with the definition of the prelude.
//!
//! The TFHE-rs preludes include convenient imports.
//! Having `tfhe::shortint::prelude::*;` should be enough to start using the lib.

pub use super::ciphertext::{Ciphertext, CompressedCiphertext, PBSOrder};
pub use super::client_key::ClientKey;
pub use super::gen_keys;
pub use super::key_switching_key::KeySwitchingKey;
pub use super::parameters::current_params::key_switching::p_fail_2_minus_128::ks_pbs::V1_6_PARAM_KEYSWITCH_1_1_KS_PBS_TO_2_2_KS_PBS_GAUSSIAN_2M128;
pub use super::parameters::{
    CarryModulus, CiphertextModulus, ClassicPBSParameters, DecompositionBaseLog,
    DecompositionLevelCount, EncryptionKeyChoice, GlweDimension, LweDimension, MaxNoiseLevel,
    MessageModulus, ModulusSwitchType, PolynomialSize, StandardDev, PARAM_MESSAGE_2_CARRY_2,
    PARAM_MESSAGE_2_CARRY_2_KS_PBS,
};
pub use super::public_key::{CompactPublicKey, PublicKey};
pub use super::server_key::ServerKey;