Function sodiumoxide::randombytes::randombytes_into
[−]
[src]
pub fn randombytes_into(buf: &mut [u8])
randombytes_into()
fills a buffer buf
with random data.
THREAD SAFETY: randombytes_into()
is thread-safe provided that you have
called sodiumoxide::init()
once before using any other function
from sodiumoxide.