Network Security · Computer Networks
17 questions · asked in 12 of 27 years (2000–2026)
MCQ 15 · NAT 21-mark 12 · 2-mark 5
2000Questions per year2026
Questions 6–10 of 17
Suppose that everyone in a group of N people wants to communicate secretly with the N-1 others using symmetric key cryptographic system. The communication between any two persons should not be decodable by the others in the group. The number of keys required in the system as a whole to satisfy the confidentiality requirement is
Answer: (C)
Every pair of people needs one secret key that only the two of them share.
Total number of pairs:
Answer: N(N-1)/2
Total number of pairs:
Answer: N(N-1)/2
Which one of the following are used to generate a message digest by the network security protocols?
(P) RSA
(Q) SHA-1
(R) DES
(S) MD5
(P) RSA
(Q) SHA-1
(R) DES
(S) MD5
Answer: (C)
Message digests come from hash functions. SHA-1 and MD5 are hash functions, so they produce message digests. RSA is a public-key encryption method. DES is a symmetric cipher.
Answer: Q and S only
Answer: Q and S only
Using public key cryptography, X adds a digital signature to message M, encrypts , and sends it to Y, where it is decrypted. Which one of the following sequences of keys is used for the operations?
Answer: (D)
Let us go through the steps:
- Signing: X signs with its own private key. Then X encrypts for Y with Y's public key.
- Y first decrypts with its own private key. Then Y checks the signature with X's public key.
Answer: Encryption: X's private key followed by Y's public key; Decryption: Y's private key followed by X's public key
- Signing: X signs with its own private key. Then X encrypts for Y with Y's public key.
- Y first decrypts with its own private key. Then Y checks the signature with X's public key.
Answer: Encryption: X's private key followed by Y's public key; Decryption: Y's private key followed by X's public key
In the RSA public key cryptosystem, the private and public keys are (e,n) and
(d,n) respectively, where n=p*q and p and q are large primes. Besides, n is
public and p and q are private. Let M be an integer such that and
. Now consider the following equations.
I.
II. ed=1 mod n
III. ed=1 mod
IV.
Which of the above equations correctly represent RSA cryptosystem?
I.
II. ed=1 mod n
III. ed=1 mod
IV.
Which of the above equations correctly represent RSA cryptosystem?
Answer: (B)
In RSA, the sender encrypts with one key and the receiver decrypts with the other key. All the exponent work is done modulo , and and are chosen so that .
I is correct: and is the encryption and decryption.
II is wrong: is not the condition.
III is correct: for some integer . By Euler's theorem, , so decryption returns .
IV is wrong: the exponentiation is done modulo , not modulo . The number must stay secret, since it would let anyone find the private key.
So I and III are the correct equations.
Answer: (B)
I is correct: and is the encryption and decryption.
II is wrong: is not the condition.
III is correct: for some integer . By Euler's theorem, , so decryption returns .
IV is wrong: the exponentiation is done modulo , not modulo . The number must stay secret, since it would let anyone find the private key.
So I and III are the correct equations.
Answer: (B)
The total number of keys required for a set of n individuals to be able to communicate with each other using secret key and public key cryptosystems, respectively are:
Answer: (C)
Secret key (symmetric) system: each pair of persons shares one key, and that one key is used by both of them. We count each shared key once. The number of pairs among persons is , so this many keys are needed.
Public key system: each person has one public key and one private key, so keys in all.
So the numbers are and .
Answer: (C)
Public key system: each person has one public key and one private key, so keys in all.
So the numbers are and .
Answer: (C)
Keep practising
Topics in Computer Networks
OSI LayerPhysical LayerData Link LayerNetwork Layer ProtocolTransport Layer ProtocolApplication Layer Protocols
Network SecurityYou are here