Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Joe often sends funny jokes to Lisa. He does not care about confidentiality of t

ID: 3879264 • Letter: J

Question

Joe often sends funny jokes to Lisa. He does not care about confidentiality of these messages but wants to get credit for the jokes and prevent Tom from claiming authorship of, or modifying them. He can achieve this by using public-key cryptography and digitally signing his jokes and send each one with its signature. However, as public-key cryptography is computationally intensive and drains the battery of Joe’s device, he comes up with an alternative approach. First, he shares a secret key k with Lisa, but not with Tom. Next, together with a joke x, Joe sends over the value d = h(k||x), where each h is a cryptographic hash function. Does value d provide assurance to Lisa that Joe is the author of joke x and that x was not modified by Tom?

1. Joe often sends funny jokes to Lisa. He does not care about confidentiality of these messages but wants to get credit for the jokes and prevent Tom from claiming authorship of, or modifying them. He can achieve this by using public-key cryptography and digitally signing his jokes and send each one with its signature. However, as public-key cryptography is computationally intensive and drains the battery of Joe's device, he comes up with an alternative approach. First, he shares a secret key k with Lisa, but not with Tom. Next, together with a joke x, Joe sends over the value d h r), where each h is a cryptographic hash function. Does value d provide assurance to Lisa that Joe is the author of joke x and that r was not modified by Tom?

Explanation / Answer

yes.

the value of d provide authentication because the joke x is encrypted with key and hash is generated. which provides authentication as well as integrity.

Integrity of the joke x is acheived because lisa can use joke x to generate the hash of x using the key and comparision gives the assurance of integrity.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote