Cryptography
Problem 2.
With the Euclidean algorithm, we finally have an efficient algorithm for finding the multiplicative inverse in Z that is much better than exhaustive search. Find the inverses in Z of the following elements modulo m:
1. a = 7, m = 26 (affine cipher)
2. a = 19, m = 999