Trait pqcrypto_traits::kem::SharedSecret
source · pub trait SharedSecret {
// Required methods
fn as_bytes(&self) -> &[u8] ⓘ;
fn from_bytes(bytes: &[u8]) -> Result<Self>
where Self: Sized + Clone + Copy;
}
Expand description
The shared secret that should be agreed on.