Function sodiumoxide::randombytes::randombytes
[−]
[src]
pub fn randombytes(size: usize) -> Vec<u8>
randombytes()
randomly generates size bytes of data.
THREAD SAFETY: randombytes()
is thread-safe provided that you have
called sodiumoxide::init()
once before using any other function
from sodiumoxide.