Unit 5: Digital Signature and Key management - Practice Quiz

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

1 What is the main purpose of a digital signature?

Comparison of digital signatures Easy
A. To increase network bandwidth
B. To hide all network addresses
C. To provide authentication and integrity
D. To compress a message

2 Which property is generally provided by a digital signature but not by ordinary encryption alone?

Comparison of digital signatures Easy
A. Faster transmission
B. Sender authentication
C. Message confidentiality
D. Data compression

3 What is usually applied to a message before it is digitally signed?

Process of digital signatures Easy
A. A routing table
B. A file compressor
C. A firewall rule
D. A hash function

4 Which key is normally used by the sender to create a digital signature?

Process of digital signatures Easy
A. The sender's public key
B. A shared session key
C. The receiver's private key
D. The sender's private key

5 Which key does a recipient normally use to verify a digital signature?

Process of digital signatures Easy
A. The recipient's session key
B. The sender's password
C. The sender's public key
D. The recipient's private key

6 What is a forgery attack on a digital signature?

Attacks on digital signatures Easy
A. Hashing a message before transmission
B. Encrypting a message with a public key
C. Creating a valid signature without the private key
D. Publishing a certificate with the signature

7 What does a replay attack attempt to do?

Attacks on digital signatures Easy
A. Replace a private key with a public key
B. Reduce the size of a digital certificate
C. Reuse a valid signed message
D. Generate a new hash algorithm

8 Which attack involves an attacker obtaining the victim's private signing key?

Attacks on digital signatures Easy
A. Compression attack
B. Fragmentation attack
C. Routing attack
D. Key compromise attack

9 The RSA digital signature scheme is based primarily on the difficulty of which problem?

RSA Digital signature scheme Easy
A. Factoring large integers
B. Finding network routes
C. Compressing binary files
D. Sorting large arrays

10 In the basic RSA signature process, which key is used to generate the signature?

RSA Digital signature scheme Easy
A. The public key
B. A certificate authority key
C. A temporary broadcast key
D. The private key

11 Which key is used to verify an RSA digital signature?

RSA Digital signature scheme Easy
A. The receiver's private key
B. A randomly selected secret key
C. The signer's public key
D. The signer's private key

12 The ElGamal digital signature scheme is based on the difficulty of the:

ElGamal Digital signature scheme Easy
A. Discrete logarithm problem
B. Message formatting problem
C. Integer sorting problem
D. Packet switching problem

13 Which value should normally be unique and secret for each ElGamal signature?

ElGamal Digital signature scheme Easy
A. The public system parameter
B. The recipient's public certificate
C. The random per-signature value
D. The message label

14 The Schnoor digital signature scheme is commonly described as being based on which mathematical problem?

Schnoor Digital signature scheme Easy
A. The discrete logarithm problem
B. The integer partition problem
C. The shortest network path problem
D. The data deduplication problem

15 What type of value is typically used in the commitment step of a Schnoor signature?

Schnoor Digital signature scheme Easy
A. A fixed password
B. A repeated message copy
C. A public email address
D. A fresh random value

16 Which standard is specifically associated with digital signatures based on the Digital Signature Algorithm?

Digital signature standards Easy
A. HTTP
B. FTP
C. DSS
D. DNS

17 What is the role of a certificate authority in a public-key infrastructure?

Digital signature standards Easy
A. To issue and validate digital certificates
B. To route messages between networks
C. To generate every user's private key
D. To replace all encryption algorithms

18 What is required for two parties to use a symmetric encryption algorithm securely?

Symmetric key distribution Easy
A. A public web page
B. A common IP address
C. A shared secret key
D. Two unrelated public keys

19 What is the main function of a key distribution center?

Symmetric key distribution Easy
A. To store public web pages
B. To filter web content
C. To calculate message length
D. To distribute session keys

20 What is the main goal of a symmetric key agreement protocol?

Symmetric key agreement Easy
A. To establish a shared secret key
B. To publish a private key
C. To convert text into an image
D. To remove message authentication

21 Alice and Bob share a secret key and use a MAC to authenticate messages. Why does a digital signature provide stronger non-repudiation than the MAC?

Comparison of digital signatures Medium
A. A digital signature always encrypts the complete message
B. Only Bob possesses the public verification key
C. Only Alice possesses the private signing key
D. A MAC can be verified without knowing any key

22 A company requires a trusted third party to participate in every signed transaction and resolve disputes immediately. Which signature model best satisfies this requirement?

Comparison of digital signatures Medium
A. A direct digital signature model
B. An arbitrated digital signature model
C. A blind digital signature model
D. A detached digital signature model

23 Why is a message digest normally signed instead of applying the signature algorithm directly to a large message?

Process of digital signatures Medium
A. It gives fixed-size input and improves efficiency
B. It prevents the receiver from reading the message
C. It removes the need for public-key certificates
D. It guarantees that the message remains confidential

24 A receiver obtains a message, its digital signature, and the sender's certified public key. Which procedure correctly verifies the signature?

Process of digital signatures Medium
A. Encrypt the message digest using the receiver's private key
B. Decrypt the message with the public key and compare keys
C. Hash the message and validate the signature using the public key
D. Hash the signature and compare it with the public key

25 An attacker records a valid digitally signed funds-transfer request and sends the same request again later. Which measure most directly prevents this replay attack?

Attacks on digital signatures Medium
A. Encrypting the sender's certificate
B. Including a nonce or timestamp
C. Using a larger public exponent
D. Shortening the message digest

26 In DSA-, ElGamal-, or Schnorr-type signatures, what is the main consequence of reusing the same secret nonce for two different messages?

Attacks on digital signatures Medium
A. The private signing key may be recovered
B. The hash function becomes reversible
C. The public parameters become invalid
D. The verification key changes automatically

27 In a textbook RSA signature scheme, let , , , and the message representative be . What is the signature ?

RSA Digital signature scheme Medium
A.
B.
C.
D.

28 For textbook RSA, signatures satisfy a multiplicative relation: if signs and signs , then can sign . Which technique is designed to prevent this weakness?

RSA Digital signature scheme Medium
A. Using secure encoding such as RSA-PSS
B. Using a smaller RSA modulus
C. Applying RSA without hashing
D. Publishing the private exponent

29 For ElGamal signatures, let , , private key , nonce , and . Using and , what is the signature?

ElGamal Digital signature scheme Medium
A.
B.
C.
D.

30 Why must the ElGamal signing nonce satisfy ?

ElGamal Digital signature scheme Medium
A. So that is always equal to one
B. So that the public key can be encrypted
C. So that the modulus becomes composite
D. So that exists

31 In a Schnorr signature variant, . If the same nonce is used with challenges and , which expression recovers the private key ?

Schnoor Digital signature scheme Medium
A.
B.
C.
D.

32 A Schnorr scheme uses , , , and . Which verification computation reconstructs ?

Schnoor Digital signature scheme Medium
A.
B.
C.
D.

33 In the traditional Digital Signature Standard (DSS), which pair identifies the signature algorithm and the hash operation used in the original specification?

Digital signature standards Medium
A. RSA for signatures and MD5 for hashing
B. ElGamal for signatures and DES for hashing
C. DSA for signatures and SHA for hashing
D. Schnorr for signatures and AES for hashing

34 During DSA verification, the verifier computes , , and . Which final condition indicates a valid signature?

Digital signature standards Medium
A.
B.
C.
D.

35 A key distribution center gives Alice a session key and a ticket for Bob. The ticket contains the session key encrypted with Bob's long-term key. Why can Alice forward the ticket without reading it?

Symmetric key distribution Medium
A. The ticket is protected using Alice's public verification key
B. Only Bob can decrypt the ticket using his long-term key
C. Only the key distribution center can decrypt the ticket
D. The session key is published before Alice forwards the ticket

36 A system encrypts many session keys using one key-encrypting key (KEK). What is the most serious result if the KEK is compromised?

Symmetric key distribution Medium
A. All public certificates must be regenerated
B. All session keys wrapped by that KEK are exposed
C. The underlying hash function becomes reversible
D. Only one ciphertext block becomes unreadable

37 Alice and Bob perform Diffie-Hellman with , , Alice's private value , and Bob's private value . What shared value do they derive?

Symmetric key agreement Medium
A.
B.
C.
D.

38 Alice and Bob use unauthenticated Diffie-Hellman to establish a symmetric session key. Which improvement most directly protects them from a man-in-the-middle attack?

Symmetric key agreement Medium
A. Sending both private values over the network
B. Reducing the size of the prime modulus
C. Reusing the same private values each time
D. Authenticating the exchanged public values

39 Alice receives a certificate containing Bob's identity and public key. What must Alice verify before trusting the binding?

Public-key Distribution Medium
A. The certificate authority's signature on the certificate
B. Bob's private key stored inside the certificate
C. The hash of Alice's own public verification key
D. The symmetric session key selected by the certificate authority

40 Alice downloads Bob's public key from an unauthenticated website and then compares its fingerprint with Bob over a trusted phone call. What security benefit does the comparison provide?

Public-key Distribution Medium
A. It generates a new private key for Bob
B. It encrypts Bob's public key during transmission
C. It prevents the public key from expiring
D. It detects substitution of Bob's public key

41 Which security consequence is most characteristic of an arbitrated digital signature system when compared with a direct digital signature system?

Comparison of digital signatures Hard
A. Every participant can independently revoke another participant's public key without consulting the arbiter or a certification authority.
B. Compromise of the arbiter can undermine signature trust across many participants.
C. The sender and receiver must share a long-term symmetric signing key.
D. The receiver can validate signatures without trusting any external entity.

42 Alice and Bob share a MAC key, while Alice also owns a certified digital-signature key. Why can a valid MAC generally not provide the same nonrepudiation property as Alice's digital signature?

Comparison of digital signatures Hard
A. Bob can generate the same MACs as Alice and therefore cannot prove which party created one.
B. A MAC always uses a digest shorter than the digest used by a digital signature.
C. Bob cannot verify a MAC unless Alice reveals her private signature key to him.
D. A MAC cannot detect modifications made to a message after transmission.

43 A protocol signs JSON documents, but different implementations may reorder object members or encode numbers such as , , and differently. Which measure most directly prevents signature failures or representation-based attacks?

Process of digital signatures Hard
A. Canonicalize the document using one unambiguous encoding before hashing.
B. Encrypt each JSON representation before computing its signature.
C. Increase the digest length while preserving each local serialization.
D. Append the signer's certificate to every unsigned JSON object.

44 A sender requires confidentiality during transport and wants the recipient to retain a signature on the plaintext that can later be verified by a third party. Which construction best satisfies both goals?

Process of digital signatures Hard
A. Encrypt and sign independent encodings of the message, then omit any identifier associating the ciphertext with the signed representation.
B. Encrypt the plaintext first and sign only the resulting ciphertext.
C. Sign the encryption key and transmit the plaintext without its signature.
D. Sign the plaintext, package the signature with it, and encrypt the entire package.

45 Two ECDSA signatures use the same nonce and therefore the same . For message representatives , the signatures are and , where . Assuming the required inverses exist, which formulas recover the nonce and private key?

Attacks on digital signatures Hard
A. , then
B. , then
C. , then
D. , then

46 In textbook RSA verification, a pair is accepted whenever , with no hash or structured encoding. How can an attacker create an existential forgery without obtaining any signatures?

Attacks on digital signatures Hard
A. Choose randomly and define .
B. Choose randomly and define .
C. Choose randomly and compute .
D. Choose randomly and compute .

47 An RSA-CRT signer produces a correct signature and, during a fault, a signature that is correct modulo one prime factor of but incorrect modulo the other. Which computation is most likely to factor ?

RSA Digital signature scheme Hard
A.
B.
C.
D.

48 What is the principal cryptographic effect of the random salt in RSA-PSS?

RSA Digital signature scheme Hard
A. It allows the verifier to reconstruct the RSA private exponent from repeated signatures.
B. It makes the encoded signature input probabilistic and tightly binds the digest to structured padding.
C. It makes RSA signing information-theoretically secure even if the modulus is factored.
D. It replaces certificate validation by embedding a complete certification path, revocation response, timestamp, and public-key identifier inside every RSA signature.

49 In ElGamal signatures, let , generator , private key , message representative , and nonce . Using and , which signature is produced?

ElGamal Digital signature scheme Hard
A.
B.
C.
D.

50 Why must an ElGamal signing nonce satisfy ?

ElGamal Digital signature scheme Hard
A. It ensures that is always a primitive root modulo .
B. It ensures that the hash value is relatively prime to the public key.
C. It ensures that exists for computing .
D. It ensures that the public key uniquely determines the private key.

51 Consider a Schnorr variant with private key , nonce , challenge , and response . If the same nonce is used for distinct challenges , which expression recovers ?

Schnoor Digital signature scheme Hard
A.
B.
C.
D.

52 In a Fiat–Shamir Schnorr signature, why is the challenge normally computed as , where , rather than as alone?

Schnoor Digital signature scheme Hard
A. Binding to permits the same nonce to be safely reused for signatures on related messages.
B. Including allows the verifier to derive the private key when a signature dispute occurs.
C. Including makes the discrete logarithm problem easy only for the intended verifier.
D. Binding to prevents an attacker from choosing a response and challenge and then back-solving a matching commitment.

53 In classic DSA with a -bit subgroup order and a SHA-256 message digest, how is the integer used in the signing equation normally derived from the digest?

Digital signature standards Hard
A. By XORing the upper and lower -bit portions of the digest.
B. By taking the rightmost bits of the digest.
C. By taking the leftmost bits of the digest.
D. By reducing the entire -bit digest modulo .

54 A DSA implementation replaces random nonces with deterministic nonces derived from the private key and message digest, as in RFC 6979. Which statement best describes the resulting security improvement?

Digital signature standards Hard
A. It makes signatures secure even if the private key is publicly disclosed.
B. It prevents failures caused by weak nonce randomness but does not inherently stop side-channel leakage.
C. It permits nonce reuse across different messages without exposing the private key.
D. It removes the need to validate the public key and domain parameters.

55 A KDC distributes a session key by sending Alice a copy encrypted under her long-term key and Bob a copy encrypted under . An attacker later compromises and has recorded Alice's old KDC messages. What is the main consequence?

Symmetric key distribution Hard
A. Past session keys in Alice's recorded KDC ciphertexts may be recovered, so the design lacks forward secrecy.
B. Bob's long-term key is immediately computable from the recorded copy intended for Alice.
C. Only future session keys can be recovered because old KDC ciphertexts expire cryptographically.
D. The KDC's master database remains secure because session keys are independent random values.

56 A storage system encrypts each large object under a random data-encryption key and wraps those keys under a key-encryption key. What is the major operational advantage when the key-encryption key is rotated?

Symmetric key distribution Hard
A. Every data-encryption key becomes mathematically independent of the random generator that created it.
B. All encrypted objects automatically gain forward secrecy without changing any wrapped key.
C. The old key-encryption key can remain public because it never directly encrypted application data.
D. Only the data-encryption keys need to be unwrapped and rewrapped; bulk ciphertext need not be re-encrypted.

57 Alice and Bob share a high-entropy PSK and run ephemeral Diffie–Hellman, authenticating the complete transcript with MACs under keys derived from the PSK and DH secret. If the PSK is compromised only after the session and both ephemeral exponents were erased, what property can the session key retain?

Symmetric key agreement Hard
A. Information-theoretic secrecy against an attacker with unlimited computation.
B. Forward secrecy, assuming the Diffie–Hellman problem remains hard.
C. Anonymity from Bob, because the MAC hides Alice's participation.
D. Nonrepudiation, because the transcript MAC uniquely identifies Alice.

58 What additional assurance does explicit key confirmation provide beyond implicit key authentication in a symmetric key-agreement protocol?

Symmetric key agreement Hard
A. It converts the session key into a publicly verifiable signature key.
B. It proves that the peer's long-term secret has never been copied.
C. It guarantees that no future compromise can reveal the session key.
D. It demonstrates that the peer actually computed the same session key.

59 A server certificate has a valid signature chain to a trusted root and is within its validity period. However, an intermediate CA certificate contains a critical name constraint excluding the server's DNS namespace. What should a conforming path validator do?

Public-key Distribution Hard
A. Accept the certificate because root trust overrides intermediate constraints.
B. Accept the certificate if its public key has at least bits.
C. Ignore the constraint after checking revocation, certificate transparency, the server's cipher-suite preferences, and possession of the corresponding private key.
D. Reject the certificate because the certified name violates a critical path constraint.

60 A client uses trust on first use by storing the public-key fingerprint observed during its first connection and rejecting later changes. Which risk remains inherent in this method?

Public-key Distribution Hard
A. The legitimate server can never rotate its key through an authenticated update.
B. A collision-resistant fingerprint cannot detect changes to the encoded public key.
C. Any later network observer can derive the private key from the stored fingerprint.
D. An attacker controlling the first connection can establish the attacker's key as the trusted key.