wrapper.sodium.randombytes

Functions related to randomness.

Public Imports

deimos.sodium.randombytes
public import deimos.sodium.randombytes : randombytes_BYTES_MAX, randombytes_SEEDBYTES, randombytes_seedbytes, randombytes_random, randombytes_uniform, randombytes_stir, randombytes_close;

Members

Aliases

QRNG_randombytes_range
alias QRNG_randombytes_range = wrapper.sodium.QRNG.QRNG_randombytes_range
Undocumented in source.
randombytes
alias randombytes = deimos.sodium.randombytes.randombytes
Undocumented in source.
randombytes_buf
alias randombytes_buf = deimos.sodium.randombytes.randombytes_buf

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

randombytes_buf_deterministic
alias randombytes_buf_deterministic = deimos.sodium.randombytes.randombytes_buf_deterministic
Undocumented in source.

Functions

randombytes
void randombytes(ubyte[] buf)

The randombytes() function fills the array buf with an unpredictable sequence of bytes.

randombytes_buf
void randombytes_buf(ubyte[] buf)

The randombytes_buf() function fills the array buf with an unpredictable sequence of bytes.

randombytes_buf_deterministic
void randombytes_buf_deterministic(ubyte[] buf, ubyte[randombytes_SEEDBYTES] seed)
Undocumented in source. Be warned that the author may not have intended to support it.
randombytes_implementation_name
string randombytes_implementation_name()
Undocumented in source. Be warned that the author may not have intended to support it.
randombytes_range
auto randombytes_range()

InputRange interface to random ubytes (based on calls to randombytes_random())

Meta