public static final int randInt(int max) {
    return localRandom.get().nextInt(max);
  }
Returns a random byte array of size {@code size}.
java_src/src/main/java/com/google/crypto/tink/internal/Random.java