[−][src]Function nanorand::entropy::unix::entropy_from_system
pub fn entropy_from_system(amt: usize) -> Vec<u8>
Obtain a series of random bytes.
Sources (in order of priority):
/dev/urandom
/dev/random
- rdseed (if available)
- The emergency time-based entropy source.