Struct concrete_integer::ciphertext::Ciphertext
source · [−]pub struct Ciphertext { /* private fields */ }
Expand description
A structure containing a ciphertext, meant to encrypt an (large) integer message. It is used to evaluate a integer circuits homomorphically.
Implementations
sourceimpl Ciphertext
impl Ciphertext
sourcepub fn blocks(&self) -> &[Ciphertext]
pub fn blocks(&self) -> &[Ciphertext]
Returns the slice of blocks that the ciphertext is composed of.
Trait Implementations
sourceimpl Clone for Ciphertext
impl Clone for Ciphertext
sourcefn clone(&self) -> Ciphertext
fn clone(&self) -> Ciphertext
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'de> Deserialize<'de> for Ciphertext
impl<'de> Deserialize<'de> for Ciphertext
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for Ciphertext
impl Serialize for Ciphertext
Auto Trait Implementations
impl RefUnwindSafe for Ciphertext
impl Send for Ciphertext
impl Sync for Ciphertext
impl Unpin for Ciphertext
impl UnwindSafe for Ciphertext
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more