CS FundamentalsHardGATE CS · Product company CS fundamentals
Alice wants Bob to receive a message that only Bob can read AND that Bob can verify came from Alice. Which keys are used?
- A. Sign with Bob's public key, encrypt with Alice's private key
- B. Sign and encrypt with Alice's private key
- C. Sign with Alice's public key, encrypt with Bob's private key
- D. Sign with Alice's private key, encrypt with Bob's public key
Correct answer: D. Sign with Alice's private key, encrypt with Bob's public key
Signing needs something only Alice has (her private key), checkable by anyone with her public key. Confidentiality needs something only Bob can undo (his private key), so Alice encrypts with Bob's public key.
More Computer Networks questions
- How many of the following statements about IPsec are correct? 1. In tunnel mode, ESP encrypts the entire original IP packet and adds a new…
- A firewall applies the first matching rule: 1. deny tcp from any to 10.0.0.0/8 port 23 2. permit tcp from 192.168.1.0/24 to any port 22–23…
- A 20 mW signal travels through 3 km of cable that loses 6 dB per km and then through an amplifier with 10 dB gain. What is the output power?
- 172.20.0.0/22 is divided with VLSM for LANs of 500, 200, 100 and 60 hosts, largest first, each at the lowest free aligned address. Which…
- From 10.10.10.0/26, one /28 is assigned to a server LAN. How many /30 point-to-point links can be carved from the remaining addresses?
- A firewall allows traffic to 10.0.0.0/9, 10.64.0.0/10, 10.128.0.0/10 and 10.192.0.0/11. How many distinct destination addresses are allowed?