cryptoRNG method
Crypto-Strong RNG. All platforms, unknown speed, cryptographically strong (theoretically)
Implementation
static List<int> cryptoRNG() {
var b = List<int>(16);
var rand = Random.secure();
for (var i = 0; i < 16; i++) {
b[i] = rand.nextInt(256);
}
return b;
}