hwsecurity / de.cotech.hw.secrets / ByteSecretGenerator / createRandom /
createRandom
open fun createRandom(numBytes: Int): ByteSecret
Creates a random ByteSecret of the given length.
The contained entropy will be about 8 bits to the power of numBytes.