Module sodiumoxide::randombytes [] [src]

Cryptographic random number generation.

Functions

randombytes

randombytes() randomly generates size bytes of data.

randombytes_into

randombytes_into() fills a buffer buf with random data.