pub fn random() -> uint32_tExpand description
The random() function returns an unpredictable value between 0 and 0xffffffff (included).
ยงExamples
use sodium_sys::crypto::utils::randombytes;
let r0 = randombytes::random();
let r1 = randombytes::random();
assert!(r0 != r1);