[][src]Trait pqcrypto_traits::kem::PublicKey

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

A public key for a KEM

Required methods

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

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

Loading content...

Implementors

Loading content...