Trait ring::rand::SecureRandom

source ·
pub trait SecureRandom: SecureRandom {
    // Required method
    fn fill(&self, dest: &mut [u8]) -> Result<(), Unspecified>;
}
Expand description

A secure random number generator.

Required Methods§

source

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

Fills dest with random bytes.

Implementors§

source§

impl<T> SecureRandom for Twhere T: SecureRandom,