Trait cryptraits::key::FromEntropy
source · pub trait FromEntropy {
type E: Error;
// Required method
fn from_entropy(entropy: &[u8]) -> Result<Self, Self::E>
where Self: Sized;
}
Expand description
Construct a value from user-provided entropy.