Trait ring::rand::SecureRandom[][src]

pub trait SecureRandom: SecureRandom {
    fn fill(&self, dest: &mut [u8]) -> Result<(), Unspecified>;
}

A secure random number generator.

Required methods

fn fill(&self, dest: &mut [u8]) -> Result<(), Unspecified>[src]

Fills dest with random bytes.

Loading content...

Implementors

impl<T> SecureRandom for T where
    T: SecureRandom, 
[src]

Loading content...