etlon

Untitled

May 16th, 2021 (edited)
631
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   public static char[] genCharArr(int length, char[] set) {
  2.     char[] newArr = new char[length];
  3.     for(int i = 0; i < length; i++) {
  4.       newArr[i] = set[new Random().nextInt(set.length)];
  5.     }
  6.     return newArr;
  7.   }
RAW Paste Data