f you are trying to learn cryptography i you have to understand some mathematical concepts which are important and help you learning the concepts. the following are some topics:
discrete probability, computational complexity theory, and basic number theory (which in turn, draws on algebra.) and statistics.