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 encrypt a plaintext message
B. To identify a prime number
C. To compress a ciphertext block
D. To calculate a private key

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. Vigenere cipher
B. RSA cryptosystem
C. Caesar cipher
D. One-time pad

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

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

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 combined congruence
D. One encrypted message

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

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

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

Difference of Symmetric and Assymetric Cryptosystems Easy
A. Temporary and permanent keys
B. Primary and backup keys
C. Public and private keys
D. Session and master 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. Ciphertext
B. Public exponent
C. Private exponent
D. Modulus

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

ElGamal Cryptosystem Easy
A. Discrete logarithm problem
B. Matrix transposition problem
C. Integer addition 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 constant plaintext block
B. A fixed public message
C. A repeated private modulus
D. A random temporary value

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

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

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

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

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

Diffie-Hellman cryptosystem Easy
A. To factor a public modulus
B. To test a digital signature
C. To establish a shared secret
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. Shortest path problem
C. Lossless coding problem
D. Prime counting problem

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

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

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. passes this test but may be composite
B. is certainly prime
C. is probably prime
D. is a factor of

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. is composite
B. is a safe prime
C. is definitely prime
D. divides

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 asymmetrically and publish its private decryption key
B. Encrypt the data symmetrically and transmit its session key in plaintext
C. Encrypt the data symmetrically and encrypt its session key asymmetrically
D. Encrypt the data twice using two publicly distributed symmetric keys

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 always uses a modulus that can be factored easily
B. It transmits both private values with each message
C. It does not verify who supplied each public value
D. It generates identical public values for every participant

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 accepts as probably prime
C. ; the round proves composite
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. The system has no solution
D.

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. Hash the file, encrypt the hash asymmetrically, and transmit the file in plaintext
B. Derive a symmetric key directly from the recipient's publicly available encryption key
C. Encrypt the entire file directly with RSA under the recipient's public key
D. Encrypt a random session key asymmetrically and protect the file with authenticated symmetric encryption

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. Symmetric keys cannot be used with collision-resistant hash functions
D. A third party cannot recompute a MAC even when given the shared key

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 factor
C. The value
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 all three RSA moduli share one prime factor
B. and the ciphertexts correspond to the same integer message
C. and the three private exponents are pairwise relatively prime
D. and each public exponent is relatively prime to

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. Accept, because lies numerically between and
B. Accept, because every nonzero value modulo has order
C. Reject, because rather than
D. Reject, because

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. Sign the identities, session context, and both ephemeral public values
B. Hash each ephemeral public value before sending it over the channel
C. Increase the modulus size while retaining unauthenticated key exchange
D. Reuse the same private exponent so peers can recognize later sessions