Exercise 16.1.6. 550 CHAPTER 16 FURTHER TOPICS IN CRYPTOGRAPHY (a) We may define a function f : Z7\ {0} → Z7\ {0} by the equation: f(n)= mod(2,7). Use parts (a) and (b) of Exercise 16.1.5 to prove that f is neither one-to-one nor onto. (b) We may also define a function g: Z7\ {0} → Z7\ {0} by the equation: g(n)= mod (3, 7). Prove or disprove: g is one-to-one. (c) With the same g as in part (b), prove or disprove: g is onto.

Algebra & Trigonometry with Analytic Geometry
13th Edition
ISBN:9781133382119
Author:Swokowski
Publisher:Swokowski
Chapter3: Functions And Graphs
Section3.5: Graphs Of Functions
Problem 48E
icon
Related questions
Question

Please do Exercise 16.1.6 part ABC and show step by step and explain

Exercise 16.1.6.
550
CHAPTER 16 FURTHER TOPICS IN CRYPTOGRAPHY
(a) We may define a function f : Z7\ {0} → Z7\ {0} by the equation:
f(n)= mod(2,7). Use parts (a) and (b) of Exercise 16.1.5 to prove
that f is neither one-to-one nor onto.
(b) We may also define a function g: Z7\ {0} → Z7\ {0} by the equation:
g(n)= mod (3, 7). Prove or disprove: g is one-to-one.
(c) With the same g as in part (b), prove or disprove: g is onto.
Transcribed Image Text:Exercise 16.1.6. 550 CHAPTER 16 FURTHER TOPICS IN CRYPTOGRAPHY (a) We may define a function f : Z7\ {0} → Z7\ {0} by the equation: f(n)= mod(2,7). Use parts (a) and (b) of Exercise 16.1.5 to prove that f is neither one-to-one nor onto. (b) We may also define a function g: Z7\ {0} → Z7\ {0} by the equation: g(n)= mod (3, 7). Prove or disprove: g is one-to-one. (c) With the same g as in part (b), prove or disprove: g is onto.
In previous math courses you learned that the inverse operation of expo-
nentiation is taking the logarithm: for example, 23 = 8 while log₂ 8 = 3. It
is possible to do the same with discrete exponentiation: an inverse operation
to discrete exponentiation is referred to as 'finding a discrete logarithm
or (DL)'. Note that since discrete exponentiation involves raising to a power
which is a natural number, a DL will always be a natural number. For ex-
ample, since mod (25, 7) = 4, we could say that under multiplication mod 7,
5 is a DL of 4 with base 2.
Now why have we been saying, "a DL" rather than "the DL"? Because
there happens to be more than one:
Exercise 16.1.5.
(a) Find all natural numbers n such that mod (2", 7) = 4. Use your result
to complete the following sentence: "Under multiplication mod 7, the
discrete logarithm(s) of 4 with base 2 are ...."
(b) Find all natural numbers n such that mod (2, 7) = 3. Use your result
to complete the following sentence: "Under multiplication mod 7, the
discrete logarithm(s) of 3 with base 2 are ...."
(c) Find all nonzero elements of Z7\{0} which have no discrete logarithms
with base 2.
(d) Find all nonzero elements of Z7\{0} which have no discrete logarithms
with base 3.
Transcribed Image Text:In previous math courses you learned that the inverse operation of expo- nentiation is taking the logarithm: for example, 23 = 8 while log₂ 8 = 3. It is possible to do the same with discrete exponentiation: an inverse operation to discrete exponentiation is referred to as 'finding a discrete logarithm or (DL)'. Note that since discrete exponentiation involves raising to a power which is a natural number, a DL will always be a natural number. For ex- ample, since mod (25, 7) = 4, we could say that under multiplication mod 7, 5 is a DL of 4 with base 2. Now why have we been saying, "a DL" rather than "the DL"? Because there happens to be more than one: Exercise 16.1.5. (a) Find all natural numbers n such that mod (2", 7) = 4. Use your result to complete the following sentence: "Under multiplication mod 7, the discrete logarithm(s) of 4 with base 2 are ...." (b) Find all natural numbers n such that mod (2, 7) = 3. Use your result to complete the following sentence: "Under multiplication mod 7, the discrete logarithm(s) of 3 with base 2 are ...." (c) Find all nonzero elements of Z7\{0} which have no discrete logarithms with base 2. (d) Find all nonzero elements of Z7\{0} which have no discrete logarithms with base 3.
Expert Solution
steps

Step by step

Solved in 5 steps with 4 images

Blurred answer
Recommended textbooks for you
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
Linear Algebra: A Modern Introduction
Linear Algebra: A Modern Introduction
Algebra
ISBN:
9781285463247
Author:
David Poole
Publisher:
Cengage Learning
Mathematics For Machine Technology
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,