Using public key cryptography, X adds a digital signature to message M, encrypts M, , and sends it to Y, where it is decrypted. Which one of the following sequences of keys is used for the operations?
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2013 · Q13
Time
Select one answerSingle correct
Solution
Official answer: D) Encryption: X’s private key followed by Y’s public key; Decryption: Y’s private key followed by X’s public key
Switching and Performance MetricsTo securely sign and transmit a confidential message from to :
Signing (Sender ):
creates the digital signature using 's private key so that anyone can verify it was signed by , ensuring authenticity and non-repudiation.
Encryption for Confidentiality (Sender ):
To ensure only can read the message and signature , encrypts the pair with 's public key.
Decryption (Receiver ):
decrypts the received ciphertext using 's private key to recover the pair .
Signature Verification (Receiver ):
verifies the signature using 's public key.
Thus, the operation sequences are:
Encryption / Signing: 's private key followed by 's public key.
Decryption / Verification: 's private key followed by 's public key.
This matches option (D).
Try the question first, then check your work.
Examiner trap
Signing requires the sender's private key, while encrypting for confidentiality requires the receiver's public key. Decryption and verification reverse these using the receiver's private key and the sender's public key.
This Switching and Performance Metrics previous year question is Q13 of the GATE CSE 2013 paper. Find more GATE CSE PYQs on Switching and Performance Metrics in Computer Networks, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Switching and Performance Metrics PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
Switching and Performance Metrics has 11 GATE CSE PYQs across 9 papers from 2013 to 2026. 4 of them are 1-mark MCQs like this one, and GATE CSE 2013 has 2.
How GATE tests Switching and Performance MetricsIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.