public static function random( $length = 25, $charset = null ) 
	{
		$charset = static::charset( $charset );

		$count = strlen( $charset ); $string = '';

		while ( $length-- ) 
		{
			$string .= $charset[mt_rand(0, $count-1)];
		}

		return $string;
	}