Monday, July 27, 2015

Cryptography - Week 6

1. Which of the following is a drawback of the private-key setting that is NOT addressed by the public-key setting?
  • The communicating parties need the ability to generate random bits.
2. Which of the following BEST describes the security offered by the Diffie-Hellman key-exchange protocol (assuming the DDH problem is hard)?
  • An attacker eavesdropping on an execution of the protocol cannot distinguish the key shared by the parties from a uniform key.
3. Assume the Diffie-Hellman protocol is run by two parties in the subgroup of 23 generated by 2. (This subgroup has order 11.) If the first party chooses private exponent 3 and the second chooses private exponent 10, which of the following characterizes the execution of the protocol in this case?
  • The first party sends 8, the second party sends 12, and they share the key 3.
4. In which of the following scenarios is public-key encryption a better choice than private-key encryption?
  • A user wants to send his credit-card number to a merchant on the web.
 

5. Which of the following would NOT be a secure way for a receiver to distribute her key for a public-key encryption scheme? (Assume a passive, eavesdropping attacker here.)
  • Post the private key on one's webpage.


6. Which of the following is true in the public-key setting, but NOT true in the private-key setting?
  • Allowing the attacker to have access to an encryption oracle makes no difference when defining security.


7. Assume for the purposes of this question a public-key encryption scheme for which the time to encrypt a 128-bit message is 100 times slower than the time to compute one AES evaluation. Which of the following is true if we want to encrypt a 100MB message M?
  • If hybrid encryption is used, then public-key encryption of M will take roughly the same time as private-key encryption of M.
8. Assume El Gamal encryption, where the group being used is 47 with generator 5. (This group has order 46, which is not prime. But El Gamal encryption can be defined in any cyclic group.) Assume the public key contains h=10. Say an attacker sees a ciphertext (41, 18) that is the encryption of some unknown message m. Which of the following is an encryption of [5mmod47]?
  • (41, 43)



9. Assume "plain RSA" encryption is used with public key (N=33,e=3). What is the encryption of the message m=2?
  • 8
10. Which of the following is true about "plain RSA" encryption (assuming the RSA problem is hard)?
  • If the message m is uniform in N, then m cannot be recovered in its entirety from the ciphertext in polynomial time.     

37 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. Good Work. Very useful. Please upload other week solutions also.

    ReplyDelete
  3. Anybody has the Week 7 and the Final Quiz for this course?

    ReplyDelete
    Replies
    1. Whats your email id

      Delete
    2. i'm also looking for final quiz. Get in touch with me john.mailmanager@gmail.com

      Delete
    3. Good!
      plz give a week7 and final quiz.
      dongho7297@gmail.com

      Delete
    4. Hi I am the one who asked the question: guigou80@hotmail.com is my email.. thanks!!

      Delete
    5. Anybody has the week 4,5,6,7;
      programming 4,5
      and final quiz ?
      personalgastronomiafit@gmail.com is my email

      Delete
    6. if possible to send Week 7 and final quiz also on cryptobookie@gmail.com

      Delete
    7. Could you email week 7 and the final as well?

      Thanks!
      ngperson94@gmail.com

      Delete
    8. hi ,Can you please email me week 7 and final quiz answers.
      kchaitanya314@gmail.com

      Delete
  4. Kindly provide me week 1 ,4,5,7 and final quiz answers....my email id is chakri.413@gmail.com

    ReplyDelete
  5. Looking for Week 7 & Final week solutions. Admin Please post

    ReplyDelete
    Replies
    1. Me too. I need both of them. can you send to me ?? personalgastronomiafit@gmail.com

      Delete
    2. Could you email week 7 and the final as well?

      Thanks,
      ngperson94@gmail.com

      Delete
    3. Did anyone get the answers...pls post week 1,4,5,7 quiz answers

      Delete
  6. This comment has been removed by the author.

    ReplyDelete
    Replies
    1. Hi, could you email week 7 and the final as well?

      Thanks,
      ngperson94@gmail.com

      Delete
  7. can i pease have week 4,5,6,7 ,and finals weeks quizs answers\

    ReplyDelete
  8. Please send me week 5,7 and final quiz answers. Thanks. Email is melvinnlee@gmail.com

    ReplyDelete
  9. Please send me week 7 and final quiz answers. Thanks. Email is alienstore2@gmail.com

    ReplyDelete
  10. can I have the final exam's answers please? Email mtarek@egidegypt.com

    ReplyDelete
  11. please send me week 4,5,7 and final quiz answers.Thanks. Email is ajay123456pundir@gmail.com

    ReplyDelete
  12. Hi, can you please send me the answers for week 7 quiz and the final quiz.
    Thank you,
    21.saavic@gmail.com

    ReplyDelete
  13. send me week 2,3,4,5,6,7 and final please !! stevenlin510@gmail.com

    ReplyDelete
  14. send me week 4,5,6 and final please !! dagher778@gmail.com

    ReplyDelete
  15. my email is rakshitroxy1352@gmail.com pls send 7th and final quiz

    ReplyDelete
  16. able to send week 5 , 7 and Final?? extraordinary_dreamer@hotmail.com

    ReplyDelete
  17. my e mail is vermaprakash473@gmail.com pls send week 4,5,7 and final quiz

    ReplyDelete
  18. Could you email week 4,5 and 7 please
    hilasashi@gmail.com

    ReplyDelete
  19. This comment has been removed by the author.

    ReplyDelete
  20. Can u send the answer of week 4,5, 7 and final quiz?
    my email riyanrisky1818@gmail.com

    thanks

    ReplyDelete
  21. Can you plz send me 1,2,3 quiz answers and my email id is himanshu.anoop.hp@gmail.com

    ReplyDelete
  22. could you please mail me week 7 answers
    harshi15honey@gmail.com

    ReplyDelete
  23. What is the point of cheating on a Coursera course?

    ReplyDelete
  24. can i have ans of week 4,5 ,7 ?
    modijaimikapu36@gmail.com

    ReplyDelete