sodium.randombytes

Undocumented in source.

Members

Functions

randombytes
void randombytes(const(ubyte*) buf, ulong buf_len)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
randombytes_buf
void randombytes_buf(const(void*) buf, size_t size)

The randombytes_buf() function fills size bytes starting at buf with an unpredictable sequence of bytes.

randombytes_close
int randombytes_close()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
randombytes_implementation_name
const(char)* randombytes_implementation_name()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
randombytes_random
uint randombytes_random()

The randombytes_random() function returns an unpredictable value between uint.min and uint.max (included).

randombytes_set_implementation
int randombytes_set_implementation(randombytes_implementation* impl)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
randombytes_stir
void randombytes_stir()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
randombytes_uniform
uint randombytes_uniform(uint upper_bound)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

randombytes_implementation
struct randombytes_implementation
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta