Parameter Scenario Bob chooses p, a large prime 17 3 Bob chooses a, primitive element in Z*, Bob chooses Kpr = d E {2,3, ..., p-2} 5 Bob computes Kpub = ß = aª mod p p, a, and ß are sent to Alice Alice chooses i in {2,3,..., p-2} 7 Alice computes KE = a' mod p Alice computes KM=B*mod p 3 Alice's message to send is x € Z*, Alice encrypts message x, y=x*KM mod p Alice sends KĘ and y to Bob Bob computes KM=Kg°mod p Bob computes KM' mod p Bob computes x = y* KM¯' mod p

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter5: Control Structures Ii (repetition)
Section: Chapter Questions
Problem 7PE
icon
Related questions
Question

For the given scenario where Alice is trying to send encrypted data to Bob, and Bob is trying to decrypt it,  using Elgamal encryption scheme, fill the values in the table

Parameter
Scenario
Bob chooses p, a large prime
17
3
Bob chooses a, primitive element in Zn
Bob chooses Kpr = d E {2,3, ., p-2}
Bob computes Kpub = ß = aª mod p
p, a, and ß are sent to Alice
Alice chooses i in {2,3,..., p-2}
7
....:
Alice computes KẸ = a' mod p
Alice computes KM=B'mod p
3
Alice's message to send is x € Z*,
Alice encrypts message x, y=x*KM mod p
Alice sends KE and y to Bob
Bob computes KM=Kg°mod p
Bob computes KM' mod p
Bob computes x = y* KM mod p
Transcribed Image Text:Parameter Scenario Bob chooses p, a large prime 17 3 Bob chooses a, primitive element in Zn Bob chooses Kpr = d E {2,3, ., p-2} Bob computes Kpub = ß = aª mod p p, a, and ß are sent to Alice Alice chooses i in {2,3,..., p-2} 7 ....: Alice computes KẸ = a' mod p Alice computes KM=B'mod p 3 Alice's message to send is x € Z*, Alice encrypts message x, y=x*KM mod p Alice sends KE and y to Bob Bob computes KM=Kg°mod p Bob computes KM' mod p Bob computes x = y* KM mod p
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 36 images

Blurred answer
Knowledge Booster
Public key encryption
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning