Unit 3: Assymetric-key Encipherment - Practice Quiz

CSE403 — Network Security And Cryptography 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 In modular arithmetic, what is ?

Mathematics of Asymmetric cryptography Easy
A.
B.
C.
D.

2 What is the greatest common divisor of and ?

Mathematics of Asymmetric cryptography Easy
A.
B.
C.
D.

3 Which of the following numbers is prime?

Prime and Primality Testing Easy
A.
B.
C.
D.

4 What is the main purpose of a primality test?

Prime and Primality Testing Easy
A. To compress a ciphertext block
B. To encrypt a plaintext message
C. To calculate a private key
D. To identify a prime number

5 What is the prime factorization of ?

Factorization Easy
A.
B.
C.
D.

6 Which cryptosystem relies strongly on the difficulty of factoring a large product of primes?

Factorization Easy
A. Caesar cipher
B. RSA cryptosystem
C. Vigenere cipher
D. One-time pad

7 The Chinese Remainder Theorem is commonly applied when the moduli are:

Chinese Remainder Theorem Easy
A. All even
B. Pairwise negative
C. Pairwise coprime
D. All identical

8 If the moduli are pairwise coprime, the Chinese Remainder Theorem combines several congruences into:

Chinese Remainder Theorem Easy
A. One public exponent
B. One prime factorization
C. One encrypted message
D. One combined congruence

9 How many different keys are normally used by a symmetric cryptosystem for encryption and decryption?

Difference of Symmetric and Assymetric Cryptosystems Easy
A. One shared key
B. Four public keys
C. Two related keys
D. Three session keys

10 Which pair of keys is used in an asymmetric cryptosystem?

Difference of Symmetric and Assymetric Cryptosystems Easy
A. Session and master keys
B. Public and private keys
C. Temporary and permanent keys
D. Primary and backup keys

11 In RSA, if and , what is the modulus ?

RSA Cryptosystem Easy
A.
B.
C.
D.

12 Which pair normally forms an RSA public key?

RSA Cryptosystem Easy
A.
B.
C.
D.

13 Which RSA value must be kept private by the key owner?

RSA Cryptosystem Easy
A. Public exponent
B. Private exponent
C. Ciphertext
D. Modulus

14 The security of the ElGamal cryptosystem is mainly associated with which difficult problem?

ElGamal Cryptosystem Easy
A. Integer addition problem
B. Discrete logarithm problem
C. Matrix transposition problem
D. String matching problem

15 What does ElGamal encryption use to help produce different ciphertexts for the same message?

ElGamal Cryptosystem Easy
A. A random temporary value
B. A repeated private modulus
C. A fixed public message
D. A constant plaintext block

16 Which basic operation is used to encrypt a message in the Rabin cryptosystem?

Rabin Cryptosystem Easy
A. Negating modulo
B. Squaring modulo
C. Adding modulo
D. Dividing modulo

17 A basic Rabin decryption typically produces how many possible square roots?

Rabin Cryptosystem Easy
A. Three possible roots
B. Two possible roots
C. Four possible roots
D. One possible root

18 What is the main purpose of the Diffie-Hellman method?

Diffie-Hellman cryptosystem Easy
A. To establish a shared secret
B. To test a digital signature
C. To factor a public modulus
D. To compress a long message

19 The security of basic Diffie-Hellman is mainly related to which difficult problem?

Diffie-Hellman cryptosystem Easy
A. Discrete logarithm problem
B. Lossless coding problem
C. Prime counting problem
D. Shortest path problem

20 After a successful Diffie-Hellman exchange, what do both participants compute?

Diffie-Hellman cryptosystem Easy
A. The same shared secret
B. Two unrelated moduli
C. Two public plaintexts
D. The same private exponent

21 What is the multiplicative inverse of modulo ?

Mathematics of Asymmetric cryptography Medium
A.
B.
C.
D.

22 For , which statement correctly applies Euler's theorem to every integer satisfying ?

Mathematics of Asymmetric cryptography Medium
A.
B.
C.
D.

23 The composite number satisfies . What is the correct conclusion from this Fermat test?

Prime and Primality Testing Medium
A. is probably prime
B. is a factor of
C. passes this test but may be composite
D. is certainly prime

24 Apply the Miller–Rabin test to using base . Since , the test obtains and then . What does the test conclude?

Prime and Primality Testing Medium
A. divides
B. is definitely prime
C. is composite
D. is a safe prime

25 Using Fermat's factorization method, can be written as . Which factorization follows?

Factorization Medium
A.
B.
C.
D.

26 Suppose and . Which nontrivial factor is obtained from ?

Factorization Medium
A.
B.
C.
D.

27 Find the smallest nonnegative integer satisfying , , and .

Chinese Remainder Theorem Medium
A.
B.
C.
D.

28 What is the smallest nonnegative solution to and ?

Chinese Remainder Theorem Medium
A.
B.
C.
D.

29 A network has users. How many keys are required for pairwise symmetric communication, compared with assigning one asymmetric key pair to each user?

Difference of Symmetric and Assymetric Cryptosystems Medium
A. symmetric keys and asymmetric key pairs
B. symmetric keys and asymmetric key pairs
C. symmetric keys and asymmetric key pairs
D. symmetric keys and asymmetric key pairs

30 Which design best combines the performance of symmetric encryption with the key-distribution benefit of asymmetric encryption?

Difference of Symmetric and Assymetric Cryptosystems Medium
A. Encrypt the data symmetrically and transmit its session key in plaintext
B. Encrypt the data twice using two publicly distributed symmetric keys
C. Encrypt the data asymmetrically and publish its private decryption key
D. Encrypt the data symmetrically and encrypt its session key asymmetrically

31 In RSA, let , , and . What is the private exponent ?

RSA Cryptosystem Medium
A.
B.
C.
D.

32 For an RSA public key , what ciphertext is produced when the plaintext is ?

RSA Cryptosystem Medium
A.
B.
C.
D.

33 An RSA system uses , private exponent , and public exponent . What signature is produced for a message hash ?

RSA Cryptosystem Medium
A.
B.
C.
D.

34 In ElGamal, the public parameters are and . If the private key is , what is the public key component ?

ElGamal Cryptosystem Medium
A.
B.
C.
D.

35 In ElGamal with , , and public key , encrypt using the ephemeral key . What is the ciphertext ?

ElGamal Cryptosystem Medium
A.
B.
C.
D.

36 In the Rabin cryptosystem with public modulus , what ciphertext results from encrypting ?

Rabin Cryptosystem Medium
A.
B.
C.
D.

37 Decrypting the Rabin ciphertext with modulus produces which set of four square roots modulo ?

Rabin Cryptosystem Medium
A.
B.
C.
D.

38 In Diffie–Hellman, the public parameters are and . If Alice's private value is , what public value does she send?

Diffie-Hellman cryptosystem Medium
A.
B.
C.
D.

39 In Diffie–Hellman with , Alice receives Bob's public value and uses private value . What shared secret does Alice compute?

Diffie-Hellman cryptosystem Medium
A.
B.
C.
D.

40 Why is unauthenticated Diffie–Hellman vulnerable to a man-in-the-middle attack?

Diffie-Hellman cryptosystem Medium
A. It transmits both private values with each message
B. It always uses a modulus that can be factored easily
C. It generates identical public values for every participant
D. It does not verify who supplied each public value

41 Let . What is the smallest positive integer such that for every satisfying ?

Mathematics of Asymmetric cryptography Hard
A.
B.
C.
D.

42 Consider the power map on . What is the smallest positive exponent such that for every unit ?

Mathematics of Asymmetric cryptography Hard
A.
B.
C.
D.

43 Apply one Miller–Rabin round to using base . Since , let and . Which result and conclusion are correct?

Prime and Primality Testing Hard
A. ; the round accepts as probably prime
B. ; the round proves composite
C. ; the round accepts as probably prime
D. ; the round accepts as probably prime

44 Fermat's factorization method searches for . Starting with , which factorization is first obtained?

Factorization Hard
A.
B.
C.
D.

45 Pollard's method is applied to with base and exponent . What does return?

Factorization Hard
A.
B.
C.
D.

46 Determine the complete solution to the generalized CRT system , , and .

Chinese Remainder Theorem Hard
A.
B.
C.
D. The system has no solution

47 A system must securely transmit a multi-gigabyte file to a recipient whose authenticated public key is known. Which design best combines the properties of symmetric and asymmetric cryptography?

Difference of Symmetric and Assymetric Cryptosystems Hard
A. Encrypt a random session key asymmetrically and protect the file with authenticated symmetric encryption
B. Encrypt the entire file directly with RSA under the recipient's public key
C. Hash the file, encrypt the hash asymmetrically, and transmit the file in plaintext
D. Derive a symmetric key directly from the recipient's publicly available encryption key

48 Why can a valid MAC generated with a shared symmetric key generally not provide nonrepudiation to an independent third party?

Difference of Symmetric and Assymetric Cryptosystems Hard
A. A MAC authenticates confidentiality but does not authenticate integrity
B. Either holder of the shared key could have generated the valid MAC
C. A third party cannot recompute a MAC even when given the shared key
D. Symmetric keys cannot be used with collision-resistant hash functions

49 The same invertible plaintext is encrypted under a common RSA modulus with exponents and , producing and . Since , which expression recovers ?

RSA Cryptosystem Hard
A.
B.
C.
D.

50 An RSA-CRT signature is correct modulo both and . A faulty signature is correct modulo but incorrect modulo . Assuming the faulty residue is not accidentally correct, what does reveal?

RSA Cryptosystem Hard
A. The factor
B. The value
C. The factor
D. The private exponent

51 For textbook RSA, an attacker has ciphertext and access to a decryption oracle that refuses only . The attacker chooses invertible and submits , receiving . How is recovered?

RSA Cryptosystem Hard
A.
B.
C.
D.

52 The same unpadded message is RSA-encrypted with exponent under three pairwise coprime moduli . Under which condition does Håstad's broadcast attack recover directly?

RSA Cryptosystem Hard
A. and the three private exponents are pairwise relatively prime
B. and each public exponent is relatively prime to
C. and all three RSA moduli share one prime factor
D. and the ciphertexts correspond to the same integer message

53 Two ElGamal ciphertexts under the same public key reuse nonce : and . If is known and all values are in the message group, how is recovered?

ElGamal Cryptosystem Hard
A.
B.
C.
D.

54 In a prime-order ElGamal-style signature, . The same nonce produces signatures and for distinct hashes and . Which formulas recover and then ?

ElGamal Cryptosystem Hard
A. and
B. and
C. and
D. and

55 Let and be ElGamal ciphertexts in a multiplicative group. What plaintext and effective nonce result from componentwise multiplication?

ElGamal Cryptosystem Hard
A. Plaintext with nonce
B. Plaintext with nonce
C. Plaintext with nonce
D. Plaintext with nonce

56 In the Rabin cryptosystem with , a ciphertext is . What are all square roots of modulo ?

Rabin Cryptosystem Hard
A.
B.
C.
D.

57 Let be a Rabin modulus. An attacker chooses invertible , submits to a square-root oracle, and receives a root satisfying . Which computation factors ?

Rabin Cryptosystem Hard
A.
B.
C.
D.

58 In Diffie–Hellman with , , Alice chooses , and Bob chooses . Which tuple correctly gives , , and the shared key ?

Diffie-Hellman cryptosystem Hard
A.
B.
C.
D.

59 A Diffie–Hellman implementation uses the order- subgroup of , where and . It receives the public value . What should subgroup validation conclude?

Diffie-Hellman cryptosystem Hard
A. Reject, because
B. Accept, because lies numerically between and
C. Reject, because rather than
D. Accept, because every nonzero value modulo has order

60 Unauthenticated ephemeral Diffie–Hellman is vulnerable to an active man-in-the-middle attack. Which modification most directly prevents substitution of the exchanged ephemeral public values?

Diffie-Hellman cryptosystem Hard
A. Increase the modulus size while retaining unauthenticated key exchange
B. Hash each ephemeral public value before sending it over the channel
C. Sign the identities, session context, and both ephemeral public values
D. Reuse the same private exponent so peers can recognize later sessions