randombytesUniform static method

int randombytesUniform(
  1. int upperBound
)

Implementation

static int randombytesUniform(int upperBound) {
  RangeError.checkNotNegative(upperBound);

  return _randombytes.randombytes_uniform(upperBound);
}