Question
Anarkali digitally signs a message and sends it to Salim. Verification of the signature by Salim requires
Official answer and solution
- Official answer
- A
- From
- Official GATE 2016 answer key
Solution
Apply the fundamental principles of asymmetric digital signature generation and verification.
In public-key cryptography, a digital signature provides message integrity, authentication, and non-repudiation.
The protocol operates as follows:
- Signing (by Anarkali): Anarkali computes the hash of the message and encrypts the hash using her private key to generate signature .
- Verification (by Salim): Salim receives message and signature . He decrypts using Anarkali's public key to recover the original hash , and compares it with his locally computed hash .
Because only Anarkali's public key can decrypt something encrypted by Anarkali's private key, verification requires Anarkali's public key (option A).
A
Confusing public key encryption (where recipient's public key is used to encrypt) with digital signing (where sender's private key is used to sign and sender's public key is used to verify).
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 2
- Question
- 33 of 65, printed as CS Q.23
- 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.