Communications

        Question 1: (2 points) Assume a sender S and a receiver R wishes to communicate using a PKE. S has a pair of keys (kPRIV-S, kPUB-S) and R has its own pair of keys (kPRIV-R, kPUB-R). E denotes the encryption algorithm and D denotes the decryption algorithm. One possible solution to accomplish this communication is as follows:Solution 1:1. S determines secret (symmetric) key K2. S encrypts K with kPRIV-S :  C = E(kPRIV-S, K)3. S sends C to R4. R gets K by decrypting C:   D(kPUB-S, C) = K5. S and R communicate using the secret key K Is this solution a good solution? Justify your answer (vague answer will not be accepted)Question 2: (2 points) Based on your understanding of the above solution 1, propose another new solution that will ensure that only the receiver R can decode K. (Be precise on all your answer; vague answer will not be accepted. Your answer should include some equations involving decryption (D) and encryption (E) algorithms as shown in Solution 1).