pub fn fill_random(buf: &mut [u8]) -> Result<(), RngError>
Fills buf from the operating system CSPRNG.
buf
RngError when getrandom fails.
RngError
getrandom