Math for Cryptography/Cryptanalysis

  • Context: Undergrad 
  • Thread starter Thread starter walk_w/o_aim
  • Start date Start date
Click For Summary

Discussion Overview

The discussion centers on the mathematical prerequisites for learning cryptography and cryptanalysis. Participants share their experiences and suggest areas of study relevant to the field, including various mathematical concepts and resources.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Homework-related

Main Points Raised

  • One participant suggests that a discrete math class would be a good starting point, noting that RSA encryption is often covered in such courses.
  • Another participant emphasizes the importance of understanding information theory, mentioning Claude Shannon and concepts like source and channel coding.
  • A different viewpoint highlights the need for familiarity with number theoretic and finite field algorithms, as well as elementary probability theory.
  • One participant argues that traditional math courses like calculus and linear algebra are not very useful for cryptography, suggesting a focus on modular arithmetic and prime number theory instead.
  • The original poster expresses interest in cryptography without the intention of becoming a security expert, outlining their current math background and seeking guidance on further steps.
  • Several participants recommend specific books for self-study, including those focused on cryptography and quantum cryptography, while noting the necessity of linear algebra for the latter.

Areas of Agreement / Disagreement

Participants generally agree on the importance of discrete math, modular arithmetic, and number theory for learning cryptography. However, there are differing opinions on the relevance of traditional math courses like calculus and linear algebra, indicating a lack of consensus on the best foundational knowledge.

Contextual Notes

Some participants mention challenges in accessing recommended books, which may limit their ability to study the suggested topics. Additionally, the original poster's timeline for taking courses may affect their learning path.

Who May Find This Useful

Individuals interested in cryptography, cryptanalysis, or related fields who are seeking guidance on the necessary mathematical foundations and resources for self-study.

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
Last edited by a moderator:
Its also helpful to know something about information theory. Google Claude Shannon, FEC, source and channel coding, for starters.
 
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!
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 157 ·
6
Replies
157
Views
18K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 52 ·
2
Replies
52
Views
7K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 32 ·
2
Replies
32
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K