What resources are there for RSA for the layman?

Click For Summary

Discussion Overview

The discussion centers around finding accessible resources that explain the RSA algorithm for individuals with a basic understanding of number theory, particularly first-year undergraduate students. The focus is on avoiding overly technical details while providing a clear introduction to the algorithm's principles and steps.

Discussion Character

  • Exploratory
  • Technical explanation
  • Homework-related

Main Points Raised

  • One participant expresses a need for resources that simplify the RSA algorithm for laypeople, noting that existing sources often become overly technical.
  • Another participant recommends "A Concrete Introduction into Higher Algebra" by Lindsay Childs, specifically Chapter 14, suggesting it contains a simple example despite being somewhat challenging.
  • A participant outlines the steps of the RSA algorithm, detailing the generation of prime numbers, the calculation of the product, the selection of a co-prime number, and the encryption and decryption processes, while encouraging the use of small numbers for practical understanding.
  • A different participant cites an article from Quantum magazine titled "Fermat’s Little Theorem" as an excellent introduction to the topic, providing a specific reference for further reading.

Areas of Agreement / Disagreement

Participants do not appear to reach a consensus on a single best resource, as multiple suggestions are offered, indicating a variety of perspectives on what constitutes an accessible introduction to the RSA algorithm.

Contextual Notes

The discussion reflects varying levels of familiarity with the RSA algorithm among participants, and the suggestions provided may depend on individual learning preferences and backgrounds in mathematics.

matqkks
Messages
283
Reaction score
6
I am looking for any resources which explain the RSA algorithm for the layman. I have found a number of sources but they all tend to end with a morass of technical details. This is for a first year undergraduate course in number theory who have covered some basic work on modular arithmetic.
 
Mathematics news on Phys.org
I started with "A Concrete Introduction into Higher Algebra" by Lindsay Childs, Ch. 14. The chapter has a simple example. It' a little tough but try to muscle-through it. Good cooks try again.
 
matqkks said:
I am looking for any resources which explain the RSA algorithm for the layman. I have found a number of sources but they all tend to end with a morass of technical details. This is for a first year undergraduate course in number theory who have covered some basic work on modular arithmetic.

The steps of the algorithm in rough lines are

1 Generate two (large) prime numbers ##p_1, p_2## // steps 1, 2, 3, 4, 5 executed from server in advance
2 Take their product ##k = p_1p_2##
3 Let function ##f## be such that ##m = f(k) = (p_1 - 1)(p_2 - 1)##
4 Choose a prime number ##p_3## that is co-prime to ##m## with ##GCD(m, p_3) = 1## where ##1 \lt p_3 \lt m## // ##k , p_3## is the public key
5 Choose a number ##n## such that ##p_3n \pmod m = 1## //server keeps ##n, m## as its secret key
6 Encrypt message M: ##E = M^{p_3} \pmod k## // Browser encrypts the message using this formula and creates the encrypted E message
7 Decrypt message E: ##M = E^n \pmod k## // Server uses this math to decrypt E and effectively recover M

If you put some (preferably small in order to verify) numbers you can have a more practical sense about the algorithm.
 
I know of no better introduction than this excellent article to be found in an old Quantum magazine: Fermat’s Little Theorem (proving its value to mathematicians), V. Senderov and A. Spivak, May/Jun00, p14 (Feature)
http://static.nsta.org/pdfs/QuantumV10N5.pdf
 
  • Like
Likes   Reactions: BvU

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K