What is the difference between post hoc fallacy and hasty generalization fallacy?

Post hoc fallacy and hasty generalization fallacy are similar in that they both involve jumping to conclusions. However, there is a difference between the two:

In other words, post hoc fallacy involves a leap to a causal claim; hasty generalization fallacy involves a leap to a general proposition.