Skip to content
Official PYQ · 2016

GATE CS 2016 Set 1 Q52 — Concept of Layering: OSI and TCP/IP Protocol Stacks

Explain with AI

Consider that BB wants to send a message mm that is digitally signed to AA. Let the pair of private and public keys for AA and BB be denoted by Kx−{K_{x}}^- and Kx+{K_{x}}^+ for x=A,Bx=A, B, respectively. Let Kx(m)K_{x}(m) represent the operation of encrypting mm with a key KxK_{x} and H(m)H(m) represent the message digest. Which one of the following indicates the CORRECT way of sending the message mm along with the digital signature to AA?

Choose one option
View worked solution

Answer: B

A digital signature is used to provide authenticity, integrity, and non-repudiation. The process for sender BB to send a digitally signed message mm to receiver AA is as follows:

  1. Generate Message Digest: BB first computes a cryptographic hash of the message, denoted as H(m)H(m).
  2. Sign the Digest: To prove their identity, BB encrypts the message digest H(m)H(m) using their own private key, KB−K_B^-. Since only BB possesses KB−K_B^-, only BB could have created this signature: Signature=KB−(H(m))\text{Signature} = K_B^-(H(m))
  3. Transmit: BB sends the original message mm along with the signature to AA: {m,KB−(H(m))}\left\{m, K_B^-(H(m))\right\}

Verification at Receiver AA:

Upon receiving the package, AA decrypts the signature using BB's public key KB+K_B^+ to get H(m)H(m), and independently computes the hash of the received message mm. If both match, the signature is verified.

Why other options are incorrect:

  • Option A: Uses BB's public key KB+K_B^+. Anyone can access BB's public key, so this does not provide authenticity.
  • Option C: Uses AA's private key KA−K_A^-, which is secret to AA. BB does not have access to KA−K_A^-.
  • Option D: Encrypts the message with AA's public key KA+K_A^+. This provides confidentiality (only AA can read it) but does not serve as a digital signature from BB.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Concept of Layering: OSI and TCP/IP Protocol Stacks questions