Network Security · Computer Networks
17 questions · asked in 12 of 27 years (2000–2026)
MCQ 15 · NAT 21-mark 12 · 2-mark 5
Questions 16–17 of 17
Answer: (B)
A sends .
B sends .
A computes .
B computes .
Both get the same key, . Since , .
Answer: (B)
Answer: (A)
In public key cryptography, the sender and the receiver each make a pair of keys: a public key and a private key. Everyone in the world knows the public keys.
Let be the sender and be the receiver.
So holds keys:
1. Public key of (everyone knows) 2. Private key of (only knows) 3. Public key of (everyone knows)
And also holds keys:
1. Public key of B (everyone knows) 2. Private key of B (only B knows) 3. Public key of A (everyone knows)
- A message encrypted with the public key of A can be decrypted only with the private key of A.
- A message encrypted with the private key of A can be decrypted only with the public key of A.
- A message encrypted with the public key of B can be decrypted only with the private key of B.
- A message encrypted with the private key of B can be decrypted only with the public key of B.
Now wants to send a secret message to .
For encryption, A has these options:
- Public key of A (everyone knows):
To decrypt, needs the private key of . Only knows it. So cannot decrypt it. - Private key of (only knows)
To decrypt, needs the public key of . Everyone knows it, so everyone can decrypt it. This is of no use. - Public key of (everyone knows):
To decrypt, needs the private key of . Only knows it. So only can decrypt it (this is what we want).
So, to get security:
The sender encrypts with the receiver's public key, and the receiver decrypts with his own private key.
Correct Answer:
Keep practising