Trait openmls_traits::random::OpenMlsRand
source · [−]pub trait OpenMlsRand {
type Error: Debug + Clone + PartialEq + Into<String>;
fn random_array<const N: usize>(&self) -> Result<[u8; N], Self::Error>;
fn random_vec(&self, len: usize) -> Result<Vec<u8>, Self::Error>;
}
Associated Types
Required methods
Fill an array with random bytes.