Coverage Summary for Class: RandomKt (it.unibo.tuprolog.argumentation.parallel.federation)
| Class | Class, % | Method, % | Branch, % | Line, % | Instruction, % |
|---|---|---|---|---|---|
| RandomKt | 100% (1/1) | 100% (2/2) | 100% (2/2) | 100% (13/13) |
package it.unibo.tuprolog.argumentation.parallel.federation
import java.security.SecureRandom
private val random = SecureRandom()
internal actual fun randomBytes(count: Int): ByteArray = ByteArray(count).also { random.nextBytes(it) }