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