[go: up one dir, main page]

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

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

A secure random number generator.

Required methods

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

Fills dest with random bytes.

Loading content...

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]

Loading content...