cryptoRandomFill

Fill buf with cryptographically secure random bytes from the OS CSPRNG. Throws CsprngException if the OS CSPRNG is unavailable.

@safe @trusted
void
cryptoRandomFill
(
scope ubyte[] buf
)