pub trait Ciphertext {
    // Required methods
    fn as_bytes(&self) -> &[u8] ;
    fn from_bytes(bytes: &[u8]) -> Result<Self>
       where Self: Sized + Clone + Copy;
}
Expand description

The ciphertext to be sent to the other party to decapsulate.

Required Methods§

source

fn as_bytes(&self) -> &[u8]

source

fn from_bytes(bytes: &[u8]) -> Result<Self>
where Self: Sized + Clone + Copy,

Implementors§