p(n) = n [p:p/n (1) where the product is over all primes that divide n, including...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
p(n) = n [p:p/n (1) where the product is over all primes that divide n, including n if n is prime. 3. Choose a small prime number as an encryption component g, that is relatively (n). That means, prime to gcd(g, (n)) = 1, i.e., ged(g, (p-1)(q-1)) = 1. 4. Compute the multiplicative inverse [h] (n) of [9](n). That is, [9]p(n) [h]p(n) = [1]p(n). The inverse exists and is unique. That is, the decryption component h=g¹ mod p(n). 5. Let pkey=(n, g) be the public key, and skey = (p, q, h) be the secret key. For any message M mod n, the encryption of M is C=M³ mod n. The decryption of C is M = C¹ mod n. End of the formalization of the RSA public-key cryptosystem. Use the RSA Cryptosystem formalism for solving problem I. Given g = 59, p = 991 and q = 997. I.1. [30 pts.] Show that the given values of g. p, and q are prime, I.1.a Use the Algorithm Sieve (the Sieve of Eratosthenes Method) to check whether p is a prime. I.1.b Based on Fermat's Little Theorem, the algorithm in Figure 1.8 can be used to check whether q is a prime. What is the most reasonable set {a₁1, a2, ..., ak} that is used for applying this algorithm? I.1.c. How do you check that g is a prime? Show the work of how you compute. [Hint: There is a distinct difference between Algorithm Sieve and Fermat's Little Theorem for finding the solution. The latter requires to apply "function modexp(x, y, N), Fig 1.4, Chapter 00_03" to compute modular exponentiation. For the former one, the Algorithm Sieve deletes only the numbers which are divisible by the primes. If you use this approach, use a table to show the elimination process. If you use Fermat's Little Theorem approach, show all the computations for modular exponentiation.] p(n) = n [p:p/n (1) where the product is over all primes that divide n, including n if n is prime. 3. Choose a small prime number as an encryption component g, that is relatively (n). That means, prime to gcd(g, (n)) = 1, i.e., ged(g, (p-1)(q-1)) = 1. 4. Compute the multiplicative inverse [h] (n) of [9](n). That is, [9]p(n) [h]p(n) = [1]p(n). The inverse exists and is unique. That is, the decryption component h=g¹ mod p(n). 5. Let pkey=(n, g) be the public key, and skey = (p, q, h) be the secret key. For any message M mod n, the encryption of M is C=M³ mod n. The decryption of C is M = C¹ mod n. End of the formalization of the RSA public-key cryptosystem. Use the RSA Cryptosystem formalism for solving problem I. Given g = 59, p = 991 and q = 997. I.1. [30 pts.] Show that the given values of g. p, and q are prime, I.1.a Use the Algorithm Sieve (the Sieve of Eratosthenes Method) to check whether p is a prime. I.1.b Based on Fermat's Little Theorem, the algorithm in Figure 1.8 can be used to check whether q is a prime. What is the most reasonable set {a₁1, a2, ..., ak} that is used for applying this algorithm? I.1.c. How do you check that g is a prime? Show the work of how you compute. [Hint: There is a distinct difference between Algorithm Sieve and Fermat's Little Theorem for finding the solution. The latter requires to apply "function modexp(x, y, N), Fig 1.4, Chapter 00_03" to compute modular exponentiation. For the former one, the Algorithm Sieve deletes only the numbers which are divisible by the primes. If you use this approach, use a table to show the elimination process. If you use Fermat's Little Theorem approach, show all the computations for modular exponentiation.]
Expert Answer:
Answer rating: 100% (QA)
Lets solve the problem I1 which involves confirming the primality of the given numbers g 59 p 991 and q 997 I1a To determine if a number for example p ... View the full answer
Related Book For
Microeconomics An Intuitive Approach with Calculus
ISBN: 978-0538453257
1st edition
Authors: Thomas Nechyba
Posted Date:
Students also viewed these programming questions
-
The three charges shown in Figure 20-33 are held in place as a fourth charge, q, is brought from infinity to the point P. The charge q starts at rest at infinity and is also at rest when it is placed...
-
If inputs increase by 3 0 % and outputs decrease by 1 5 % , what is the percentage change in productivity?
-
Guardians ran its freezer in January, a slow month for 720 hours for a total cost of P120,000. In August, a peak month, the freezer ran for 1,500 hours at a cost of P80 per hour. Required: What is...
-
For a corporation such as Bell Canada, what are the two primary advantages of equity financing? Ownership is spread among many individuals, and no interest payments are required. Investors pay top...
-
Given that the spacing of lines in the microwave spectrum of 35Cjl9p is constant at 1.033 cm-1, calculate the moment of inertia and bond length of the molecule (me(35Cl) = 34.9688 u, m(19F) = 18.9984...
-
For the BJT cascade amplifier of Fig. 5.176, calculate the dc bias voltages and collector current for each stage. +15 V 5.1 kQ 24 k 5.1 k 24 k2 0.5 HF If 0.5 pF - 150 6.2 k2 6.2 kQ 50 uF
-
A rectangular channel \(3 \mathrm{~m}\) wide carries \(10 \mathrm{~m}^{3} / \mathrm{s}\) at a depth of \(2 \mathrm{~m}\). Is the flow subcritical or supercritical? For the same flowrate, what depth...
-
The Horizon Company will invest $60,000 in a temporary project that will generate the following cash inflows for the next three years. Year Cash Flow 1 ............ $15,000 2 ............ 25,000 3...
-
A helium-filled balloon, whose envelope has a mass of 0.29 kg, is tied to a 3.8-m long, 0.054-kg string. The balloon is spherical with a radius of 0.40 m. When released, it lifts a length h of the...
-
Hurzdan, Inc., has a 32-day average collection period and wants to maintain a minimum cash balance of $20 million, which is what the company currently has on hand. The company currently has a...
-
A laminar flow is taking place in a pipe of diameter 200 mm. The maximum velocity is 1.5 m/s. Find the mean velocity and the radius at which this occurs. Also calculate the velocity at 4 cm from thee...
-
During 2020, Harmony Co. sold $514,000 of merchandise at marked retail prices. At the end of 2020, the following information was available from its records: Beginning inventory Net purchases At Cost...
-
Peter Weaver doesn't like to follow the crowd. He thinks groupthink is a common problem in many organizations. This former director of marketing for a consumer products company believes differences...
-
Orie and Jane, husband and wife, operate a sole proprietorship. They expect their taxable income next year to be $450,000, of which $250,000 is attributed to the sole proprietorship. Orie and Jane...
-
Former NBA basketball coach Phil Jackson wrote "Good teams become great ones when the members trust each other enough to surrender the 'me' for the 'we.' As Bill Cartwright puts it: 'A great...
-
Find the slope of the line that goes through the given points. (5, 7) and (7,3)
-
Find the root value of the function f(x) = e x + 2 -x + 2cos x - 6 = 0 ; 1
-
What is an insurable interest? Why is it important?
-
Reference Points, Happiness and Envy: The stylized results from the happiness literature suggest that happiness, at least as reported on surveys, is reference-based in the sense that people evaluate...
-
Competitive Provision of Health Insurance: Consider the challenge of providing health insurance to a population with different probabilities of getting sick. A. Suppose that, as in our car insurance...
-
Advertising as Quality Signal: In the text, we have discussed two possible motives for advertising, one focused on providing information (about the availability of goods or the prices of goods) and...
-
Figure P32.94 shows, for an AC circuit, the instantaneous current through a circuit element and the potential difference across the element. What can you determine about the element? Data from Figure...
-
The circuit in Figure P32.96 represents your planned design for a wall power supply that will run a radio that usually runs on a 9-V battery. The power supply uses a transformer (not shown) to...
-
Your boss has purchased a new AC power source to run a high-voltage, low-current display, but it is not working. While he is fuming, you look at the owner's manual and discover that this power source...
Study smarter with the SolutionInn App