[][src]Trait pqcrypto_traits::kem::SharedSecret

pub trait SharedSecret {
    fn as_bytes(&self) -> &[u8];
fn from_bytes(bytes: &[u8]) -> Result<Self>
    where
        Self: Sized + Clone + Copy
; }

Required methods

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

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

Loading content...

Implementors

Loading content...