Question
Consider that wants to send a message that is digitally signed to . Let the pair of private and public keys for and be denoted by and for , respectively. Let represent the operation of encrypting with a key and represent the message digest. Which one of the following indicates the CORRECT way of sending the message along with the digital signature to ?
Official answer and solution
- Official answer
- B
- From
- Official GATE 2016 answer key
Solution
Recall the fundamental mechanism of digital signatures using public key cryptography and cryptographic hash functions.
Key definitions:
- : Private key of entity (known only to ).
- : Public key of entity (known to everyone).
- : Cryptographic hash / message digest of message .
Digital Signature Generation:
- A digital signature provides non-repudiation and authentication of the sender .
- Only the sender possesses .
- Therefore, the signature is created by encrypting the message digest with 's private key: .
Transmission:
- Sender sends the plaintext message along with the digital signature: .
Verification by Receiver :
- computes directly from .
- decrypts using 's public key to obtain the sent digest.
- If both digests match, confirms that the message came from and was not altered.
This corresponds to option B.
B
Confusing encryption for confidentiality (which uses the receiver's public key ) with digital signing for authentication (which uses the sender's private key ).
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2016 Computer Science and Information Technology (CS) Session 1
- Question
- 62 of 65, printed as CS Q.52
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.