What advanced math topics are recommended for computer science?
If you want to do theoretical computer science, more math the better. Ultimately, learning math is not so much about learning specific topics, though that is of course important, it is also about gaining mathematical maturity, which means being able to think mathematically, being able to formalise and prove things, being able to abstract away inessential details and capture the essence of a problem. Of course, actually knowing lots of useful theorems is important too.

For crypto you'll need (at least) algebra (group theory etc), number theory, and discrete mathematics. Some logic wouldn't hurt either. 

Linear algebra will help with machine learning and computer graphics.

Logic, topology and category theory will help for many Theory B topics (programming language semantics etc).

The list goes on ...