Trait kem::Decapsulator
source · [−]pub trait Decapsulator<EK: EncappedKey> {
fn try_decap(&self, encapped_key: &EK) -> Result<SharedSecret<EK>, Error>;
}
Expand description
Represents the functionality of a key decapsulator, where Self
is a cryptographic key.