A Theory of Information Warfare