Skip to content

GATE CS 2013 Q13 — Concept of Layering: OSI and TCP/IP Protocol Stacks

Explain with AI

Using public key cryptography, XX adds a digital signature σ to message MM, encrypts ⟨M,σ⟩\langle M, \sigma \rangle, and sends it to YY, where it is decrypted. Which one of the following sequences of keys is used for the operations?

Choose one option
View worked solution

Answer: D

To solve this, we break down the process into two main security goals: Authentication (Digital Signature) and Confidentiality (Encryption).

1. Encryption Phase (at Sender XX)

  • Step 1 (Digital Signature): To sign the message MM so that the receiver can verify it originated from XX, XX signs/encrypts the message (or its hash) using XX’s private key. This produces the signature σ\sigma.
    σ=EPRX(M)\sigma = E_{PR_X}(M)
  • Step 2 (Confidentiality): To ensure that only the intended receiver YY can read the combined payload ⟨M,σ⟩\langle M, \sigma \rangle, XX encrypts it using YY’s public key.
    Ciphertext=EPUY(⟨M,σ⟩)\text{Ciphertext} = E_{PU_Y}(\langle M, \sigma \rangle)

Thus, the sequence of keys used for encryption is: XX’s private key followed by YY’s public key.

2. Decryption Phase (at Receiver YY)

The decryption process must reverse the encryption steps in a Last-In, First-Out (LIFO) order:

  • Step 1 (Outer Decryption): YY first decrypts the outer layer of the received ciphertext using YY’s private key to retrieve ⟨M,σ⟩\langle M, \sigma \rangle.
    ⟨M,σ⟩=DPRY(Ciphertext)\langle M, \sigma \rangle = D_{PR_Y}(\text{Ciphertext})
  • Step 2 (Signature Verification): YY then verifies the digital signature σ\sigma using XX’s public key.
    M=DPUX(σ)M = D_{PU_X}(\sigma)

Thus, the sequence of keys used for decryption is: YY’s private key followed by XX’s public key.

This matches the sequence described in Option D.

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