static public final String apacheCrypt(String password)
  {
    StringBuffer salt = new StringBuffer();
    java.util.Random randgen = new java.util.Random();

    /* -- */

     while (salt.length() < 8)
       {
	 int index = (int) (randgen.nextFloat() * SALTCHARS.length());
         salt.append(SALTCHARS.substring(index, index+1));
       }

    return MD5Crypt.apacheCrypt(password, salt.toString());
  }