CS FundamentalsHardGATE CS · Product company CS fundamentals
100 users each need to communicate privately with every other user. How many keys are needed with symmetric (secret-key) cryptography, and how many key pairs with public-key cryptography?
- A. 100 secret keys; 4950 key pairs
- B. 4950 secret keys; 100 key pairs
- C. 9900 secret keys; 100 key pairs
- D. 4950 secret keys; 4950 key pairs
Correct answer: B. 4950 secret keys; 100 key pairs
Each pair of users needs its own shared secret: C(100, 2) = 100 × 99 / 2 = 4950. With public keys each user needs just one pair (200 keys in all), since anyone can encrypt with a user's public key.
More Computer Networks questions
- Alice wants Bob to receive a message that only Bob can read AND that Bob can verify came from Alice. Which keys are used?
- 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?