Question: Let's consider the following setup for El-Gamal cryptosystem: A prime number P= 199 picked up and a generator for this prime number g = 15

  1. Let's consider the following setup for El-Gamal cryptosystem:

A prime number P= 199picked up and a generator for this prime number g = 15is selected.

The receiver chooses his/her secret key x =[(2022 +12 + 18 + 30125556) * 2] mod 197

If x = 0/1, then update x = 83

The sender wants to send the message m = 13using his/her random exponent

k =[int (2022 +12 + 18 + 30125556) / 3] mod 197

If k = 0/1, then update k = 97

  1. What would be the receiver's public key?
  2. What would be the ciphertext computed by the sender?
  3. Finally, verify that decryption by the receiver successfully recovers the message.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!