When pursuing cryptography, both number theory and abstract algebra are essential, with a strong recommendation for taking an abstract algebra course first. Understanding abstract algebra facilitates learning number theory concepts, as many proofs become clearer with a foundation in group theory. A graduate-level cryptography course typically requires only basic knowledge, such as Legendre symbols and modular arithmetic, making it feasible to learn these concepts alongside abstract algebra. Self-study in number theory is encouraged, with resources like the Jones and Jones book recommended for its clarity and problem-solving support. Abstract algebra covers key topics such as group theory, homomorphisms, ring theory, field theory, and Galois theory, which are foundational for understanding algebraic structures and their applications in cryptography.