randomBytes function
Generate a list of random 8-bit numbers of size length
Implementation
@pragma('vm:prefer-inline')
Uint8List randomBytes(
int length, {
RNG generator = RNG.secure,
}) =>
HashlibRandom(generator).nextBytes(length);
Generate a list of random 8-bit numbers of size length
@pragma('vm:prefer-inline')
Uint8List randomBytes(
int length, {
RNG generator = RNG.secure,
}) =>
HashlibRandom(generator).nextBytes(length);