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
- 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
- What would be the receiver's public key?
- What would be the ciphertext computed by the sender?
- Finally, verify that decryption by the receiver successfully recovers the message.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
