Skip to main content

fill_random

Function fill_random 

Source
pub fn fill_random(dst: &mut [u8])
Expand description

Fill dst with cryptographic entropy via syscall (getrandom on Linux) so no /dev/urandom filesystem access is required after Landlock is applied.