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