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

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

A secure random number generator.

Required Methods

Fills dest with random bytes.

Implementors

impl SecureRandom for SystemRandom
[src]

impl SecureRandom for FixedByteRandom
[src]

impl<'a> SecureRandom for FixedSliceRandom<'a>
[src]

impl<'a> SecureRandom for FixedSliceSequenceRandom<'a>
[src]