String (final Random rnd, final int size) { final char[] chars = new char[size]; for (int i = 0; i < chars.length; i++) { chars[i] = Character.forDigit(rnd.nextInt(0, 36), 36); } return new String(chars); }