Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 2.5.1 (Find the key of decoding)
Exercise 2.5.1 (Find the key of decoding)
Suppose that , and that . Find a positive number such that . If , what is ?
Answers
Proof. Since ,
With the Bézout’s algorithm, we obtain
thus
so is an inverse modulo of .
By Euler theorem, since , ,
If , using fast exponentiation, .
We can explain that . The multiplicative order of modulo is :
Therefore
The encrypted message is the original message for ! □