randomBytes

WARNING! Mt19937 (the default here) is not a "Cryptographically secure pseudorandom number generator"

numBytes must be a multiple of 4, or this will throw an Exception

  1. ubyte[] randomBytes(size_t numBytes)
    ubyte[]
    randomBytes
    (
    size_t numBytes
    )
  2. ubyte[] randomBytes(size_t numBytes, Rand rand)

Meta