

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Instructions: All assignments must be typed; no hand-written assignments will be accepted. You must name your file as: your_last_name_your_first_name_HW4. Acceptable file formats: .doc, .docx, .pdf Inside the file, you MUST include your full name, otherwise your HW will not be graded. You must show your work to receive full credit.
CIS 3360 – Security in Computing Spring 2016 Homework 3.2 (50 points)
Alice Bob
Alice a) Create the message and the 128 bit number that will be used as the session key. b) Compress the message c) Encrypt the compressed message with the session key, encrypt the session key with the reciever’s public key, and prepend the encrypted session key to the encrypted compressed message d) Sends the created message to Bob
Bob a) Recieves the encrypted message and session key b) Decrypts the session key using private key c) Uses the session key to decrypt the compressed message d) Uncompress the message and get M
A B: E(KApriv, E(KBpub, H(M) || Z(M) ))
This means A computes the Hash function of the message M as H(M), concatenates with the compressed value of M as Z(M), then encrypts the result using first the public key of B [KBpub ] and then encrypts the result with the private key of A [KApriv ]. A then transmits the result to B.
Using these notations, indicate the message M sent by A to B for the diagram of confidentiality and authentication of PGP. See page 7 of the lecture slides of PGP – Overview for the diagram.
Answer: We only need to covert the creation of the message by A which is sent to B.
A B: E(KUb, Ks ) || E(Ks, Z(E(KRa, H(M)) || M) ))