randombytes

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

  1. alias randombytes = deimos.sodium.randombytes.randombytes
  2. void randombytes(ubyte[] buf)
    pragma(inline, true) nothrow @nogc @trusted
    void
    randombytes
    (
    scope ubyte[] buf
    )

Meta