private static int applyLengthScore(String passwd)
	{
		if (passwd.length() < 5) // length 4 or less
		{
    		log.debug("3 points for length (" + passwd.length() + ")");;
    		return 3;
    	} 
		
		if (passwd.length() > 4 && passwd.length() < 8) // length between 5 and 7
    	{
    		log.debug("6 points for length (" + passwd.length() + ")");
    		return 6;
    	} 
		
		if (passwd.length() > 7 && passwd.length() < 16) // length between 8 and 15
    	{
    		log.debug("12 points for length (" + passwd.length() + ")");
    		return 12;
    	} 

    	if (passwd.length() > 15) // length 16 or more
   		{
    		log.debug("18 point for length (" + passwd.length() + ")");
    		return 18;
   		}
    	
    	// Can't calculate length?
    	return 0;
	}