randomBytes

abstract suspend fun randomBytes(len: UInt): ByteArray(source)

Generates len random bytes from the cryptographically secure RNG.