evutil_secure_rng_get_bytes

Generate n bytes of secure pseudorandom data, and store them in buf.

By default, Libevent uses an ARC4-based random number generator, seeded using the platform's entropy source (/dev/urandom on Unix-like systems; CryptGenRandom on Windows).

extern (C) nothrow
void
evutil_secure_rng_get_bytes
(
void* buf
,
size_t n
)

Meta