code: public String next(int length) {
      StringBuilder result = new StringBuilder(length);
      for (int i = 0; i < length; i++) {
        result.append(WEB64_ALPHABET[random.nextInt(64)]);
      }
      return result.toString();
    }
docs: Returns a string with {@code length} random characters.