Trait ml_kem::EncapsulateDeterministic
source · pub trait EncapsulateDeterministic<EK, SS> {
type Error: Debug;
// Required method
fn encapsulate_deterministic(
&self,
m: &B32,
) -> Result<(EK, SS), Self::Error>;
}
Available on crate feature
deterministic
only.Expand description
A value that can be encapsulated to. Note that this interface is not safe: In order for the
KEM to be secure, the m
input must be randomly generated.