Cryptography, as Wikipedia describes it, is the practice and study of techniques for secure communication in presence of adversarial behaviour.
In CTFs, crypto challenges include a wide variety of topics, but some topics are encountered more than the other:
Understanding and breaking cryptography is a pretty nifty skill to have under one’s belt.
Note that the latter topics are more advanced.
A background in mathematics helps, if you find discrete mathematics interesting, you will enjoy Asymmetric encryption schemes 😄
Resources