Trait ring::rand::SecureRandom
source · [−]pub trait SecureRandom: SecureRandom {
fn fill(&self, dest: &mut [u8]) -> Result<(), Unspecified>;
}
Expand description
A secure random number generator.
Required Methods
sourcefn fill(&self, dest: &mut [u8]) -> Result<(), Unspecified>
fn fill(&self, dest: &mut [u8]) -> Result<(), Unspecified>
Fills dest
with random bytes.