Function bitcoin_random::get_rand_bytes
source · pub fn get_rand_bytes(buf: &mut [u8], num: i32)
Expand description
| Generate random data via the internal | PRNG. | | These functions are designed to be fast | (sub microsecond), but do not necessarily | meaningfully add entropy to the PRNG | state. | | Thread-safe. |