random_u64

Function random_u64 

Source
pub fn random_u64() -> Result<u64>
Expand description

2026-09-25: 8 bytes of OS entropy as a u64. Linux: libc::getrandom with no flags, retried on EINTR and partial reads. Other unix: /dev/urandom. Windows: the getrandom crate. A failure is an error.