pub struct Ciphertext {
pub data: Vec<u8>,
pub params_hash: [u8; 32],
pub scheme: FheScheme,
pub noise_budget: i32,
pub scale: f64,
pub is_computed: bool,
}Expand description
Encrypted ciphertext
Fields§
§data: Vec<u8>Encrypted data
params_hash: [u8; 32]Parameters used
scheme: FheSchemeScheme used
noise_budget: i32Noise budget estimate
scale: f64Scale (for CKKS)
is_computed: boolIs result of homomorphic operation
Trait Implementations§
Source§impl Clone for Ciphertext
impl Clone for Ciphertext
Source§fn clone(&self) -> Ciphertext
fn clone(&self) -> Ciphertext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Ciphertext
impl RefUnwindSafe for Ciphertext
impl Send for Ciphertext
impl Sync for Ciphertext
impl Unpin for Ciphertext
impl UnwindSafe for Ciphertext
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more