Skip to main content

fill

Function fill 

Source
pub fn fill(buf: &mut [u8])
Expand description

Fill buf with cryptographically secure random bytes from the OS.

Panics only if the OS RNG is unavailable — an unrecoverable environment fault on every platform Capsule targets, where continuing would be a security defect.