I wasnt quite sure what to name this question, so that's what it is.
I'me working on an encryption system, and I need modulus. I already asked a question on this, here, and I cannot figure out the answer to this, and I was hoping someone could explain it a little better for me? I said that it made sense, because it seemed to, but then I realized I was doing it wrong and it was too late -_-
How does d = $d^{-1} = 103$ BECAUSE $103 \cdot 7 = 721$ and $721 ≡ 1 \pmod{ 120}$?
I understand that $721 ≡ 1 \pmod {120}$ is $6$ remainder $0$, but how does that justify that $d^{-1} = 103$? and in the second part, $103 \times 7$, why is it $\times 7$?
Any help would be appreciated! Please explain this like talking to a ten year old :D
What is the inverse of a real number. Well...given $x$ the inverse of a real number is the number we will call $x^{-1}$ and has the following property:
$x \times x^{-1} = 1$
Okay...nothing changes in this definition when we go to modulus. If we take $d = 7$ (in mod 120), what is its inverse? It's the number that when multiplied by 7 will give us 1 as an answer. In fact:
$7 \times 103 = 721 = 1 \text{ }(mod\text{ } 120)$
So we have it! We must accept (by the definition of the inverse) that $d^{-1} = 103$, as "strange" as this may seems.
Now...can you prove that when you are dealing with prime number as the module each number will have its inverse?