Skip to main content

FVCiphertext

Type Alias FVCiphertext 

Source
pub type FVCiphertext<T> = (RqPoly<T>, RqPoly<T>);
Expand description

Ciphertext type

Trait Implementations§

Source§

impl<T> Serializable for FVCiphertext<T>
where T: Serializable + Clone,

Source§

fn to_bytes(&self) -> Vec<u8>

Serialize to a vector of bytes.
Source§

fn from_bytes(bytes: &Vec<u8>) -> Self

Deserialize from a vector of bytes.