Function askar_crypto::random::random_secret [−][src]
pub fn random_secret(len: usize) -> SecretBytes
This is supported on crate feature
alloc
only.Expand description
Create a new SecretBytes
instance with random data.