I'm reading a book on Cryptography and in the book it explains:
A modular multiplication is quite natural to define over such a set of numbers. Let’s take the following multiplication, for example:
3 x 2 = 6
With what you learned above, you know that 6 is congruent to 1 modulo 5, and thus the equation can be rewritten as
3 x 2 = 1 mod 5
Quite straightforward isn’t it? Note that the previous equation tells us that 3 is the inverse of 2, and vice versa. So we can also write, for example:
3^-1 = 2 mod 5
I can understand that 3 x 2 = 6.
And 6 mod 5 = 1 or 6 % 5 == 1. Therefore 3x2 = 1 mod 5
However what I don't understand is how it suddenly become proof that: 3^-1 = 2 mod 5
I understand that 3^-1 = 1/3.... so if 3^-1 = 2 mod 5
then
1/3 = 2 mod 5 no? I'm getting confused....
What foundational knowledge do I need to understand and how to connect the dots????
Thank you.
then
1/3 = 2 mod 5 no? I'm getting confused....
– preston May 16 '21 at 04:51