Home / Expert Answers / Advanced Math / alice-and-bob-has-designed-a-public-key-cryptosystem-based-on-the-elgamal-bob-has-chosen-the-prime-pa339

(Solved): Alice and Bob has designed a public key cryptosystem based on the ElGamal. Bob has chosen the prime ...



Alice and Bob has designed a public key cryptosystem based on the ElGamal. Bob has chosen the prime p = 113 and the primitive root ? = 6. Bob’s private key is an integer b = 70 such that ? ? ? b ? 18 (mod p). Bob publishes the triple (p, ?, ?).

(a) Alice chooses a secret number k = 30 to send the message 2022 to Bob. What pair or pairs does Bob receive?

(b) What should Bob do to decrypt the pair or pairs he received from Alice? During the computation, make sure Bob does not compute any inverses.

(c) Verify the answer of Parts (a) and (b) in sagemath.

(d) Before choosing k = 30, Alice was thinking of choosing k = 32. Do you think that Alice should have chosen k = 32? Give an answer and justify it



We have an Answer from Expert

View Expert Answer

Expert Answer


Sol:-- (a) Bob receives the pair (p, k) from Alice. Explanation: a In order to generate a public key and a private key for use in the ElGamal public key cryptosystem, Alice and Bob will need a prime number p and a primitive root. This will allow them
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe