code: public static String generateNumricPassword(final int numberOfChar) {
  		final Random randomGenerator = new Random();
  		String password = "";
  		for (int i = 1; i <= numberOfChar; ++i) {
  			password += randomGenerator.nextInt(10);
  		}
  		return password;
  	}
docs: ////////////////////////////////////////////////////////////