Entropy Generating Function Method