Math for Cryptography/Cryptanalysis

  • Context: Undergrad 
  • Thread starter Thread starter walk_w/o_aim
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 6K views
walk_w/o_aim
Messages
27
Reaction score
0
Hi everyone,

Pardon me if this question's been asked (and if it's in the wrong forum) - I Googled within PF, but couldn't find what I need.

My question is: How much math do I need to begin learning cryptography/cryptanalysis? I'm not planning on becoming a security expert/codebreaker or anything of the sort; it's just something that interests me.

As for my math experience, I'm currently taking Linear Algebra and Calc II in college, and will probably take Discrete Math next term (and I've also taken some programming classes) - where do I go from there?

Thanks!
 
Mathematics news on Phys.org
Its also helpful to know something about information theory. Google Claude Shannon, FEC, source and channel coding, for starters.
 
Last edited by a moderator:
walk_w/o_aim said:
My question is: How much math do I need to begin learning cryptography/cryptanalysis? I'm not planning on becoming a security expert/codebreaker or anything of the sort; it's just something that interests me.

Cryptography is almost all math. However I found that the "traditional" math courses -- eg, calculus, linear algebra, etc are not very useful. Mostly what you need is modular arithmetic and prime number theory (eg, finding primes, factoring primes..).

As for my math experience, I'm currently taking Linear Algebra and Calc II in college, and will probably take Discrete Math next term (and I've also taken some programming classes) - where do I go from there?
Thanks!

Take a course in Cryptography or Security
 
Hey people,

Thanks for the replies!

@Vid
Thanks for the recommendation - I'll try to look around for it. Neither my college library nor the large public libraries nearby seem to have a copy, so I might have to search in book stores.

@Fleem
Thanks, will Google around for them. :)

@Dragonfall
Thanks for your book recommendations, too. Unfortunately, I couldn't find the Katz/Lindell book in any nearby libraries either - so bookstores will have to be the way to go. As for the quantum cryptography book, I think I'll keep that one in mind for when I'm actually comfortable with using linear algebra. :)

@junglebeast
Thanks. I'll try to get into the Security course, but since it's offered something like once every two years, and it was just offered last term (I didn't have the prereqs, unfortunately), it might take a while :) I'll definitely look into studying some of it on my own, though.

@all
Based on the replies, it seems like I'll need to know discrete math, modular arithmetic and (prime) number theory, as well as some information theory. I'll definitely look into those areas. Thanks a lot!