MHB RSA Explained: Intro for Layman, Number Theory Basics

  • Thread starter Thread starter matqkks
  • Start date Start date
  • Tags Tags
    Layman
matqkks
Messages
280
Reaction score
5
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
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.

Hi matqkks,

It seems to me the explanation here is about as simple as it gets.Long story short, we encrypt numbers $m$ with the public key as:
$$\text{encrypted number} = m^{\text{public key}} \bmod n$$
and we decrypt them with the private key:
$$m = \text{encrypted number}^{\text{private key}} \bmod n$$
where $n = pq$ is the product of 2 large prime numbers.The schema hinges on the fact that it's very difficult to find $p$ and $q$ given $n$.
The article explains how to get a $(\text{public key}, \text{private key})$ pair given $p$ and $q$.
It also means that anyone can encrypt a message, but only someone with access to the $\text{private key}$ can decrypt a message.
 
I agree completely with the previous post. You should read the Wikipedia article. Using the notation there, given an integer x, the encoded x is $x^e\text{ mod}(n)$ The decoding $f$ is such that $ef\equiv1\text{ mod}(\phi(n))$ Then for $x$ prime to $n$, $x^{ef}\equiv x\text{ mod}(n)$. However, it should still work for x's not prime to n. You might try your hand at this. Hint: the Chinese remainder theorem is helpful.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.
Back
Top