Struct security_framework::random::SecRandom
[−]
[src]
pub struct SecRandom(_);
A source of random data.
Methods
impl SecRandom
[src]
fn copy_bytes(&self, buf: &mut [u8]) -> Result<()>
Fills the buffer with cryptographically secure random bytes.