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 provide authentication and integrity
C. To hide all network addresses
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. Message confidentiality
B. Faster transmission
C. Data compression
D. Sender authentication

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

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

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. The receiver's private key
C. A shared session 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 sender's password
B. The recipient's private key
C. The recipient's session key
D. The sender's public key

6 What is a forgery attack on a digital signature?

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

7 What does a replay attack attempt to do?

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

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

Attacks on digital signatures Easy
A. Routing attack
B. Compression attack
C. Fragmentation 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. Finding network routes
B. Compressing binary files
C. Factoring large integers
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. The private key
C. A temporary broadcast key
D. A certificate authority key

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

RSA Digital signature scheme Easy
A. The signer's public key
B. A randomly selected secret key
C. The receiver's private 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. Message formatting problem
B. Packet switching problem
C. Integer sorting problem
D. Discrete logarithm problem

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

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

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

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

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

Schnoor Digital signature scheme Easy
A. A public email address
B. A repeated message copy
C. A fixed password
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. DSS
B. HTTP
C. FTP
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 replace all encryption algorithms
C. To generate every user's private key
D. To route messages between networks

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

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

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

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

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

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

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. A MAC can be verified without knowing any key
C. Only Alice possesses the private signing key
D. Only Bob possesses the public verification 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. An arbitrated digital signature model
B. A direct digital signature model
C. A detached digital signature model
D. A blind 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 guarantees that the message remains confidential
C. It prevents the receiver from reading the message
D. It removes the need for public-key certificates

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. Decrypt the message with the public key and compare keys
B. Hash the signature and compare it with the public key
C. Hash the message and validate the signature using the public key
D. Encrypt the message digest using the receiver's private 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. Shortening the message digest
B. Encrypting the sender's certificate
C. Using a larger public exponent
D. Including a nonce or timestamp

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 public parameters become invalid
B. The verification key changes automatically
C. The hash function becomes reversible
D. The private signing key may be recovered

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. Publishing the private exponent
D. Applying RSA without hashing

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 modulus becomes composite
C. So that exists
D. So that the public key can be encrypted

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. DSA for signatures and SHA for hashing
C. Schnorr for signatures and AES for hashing
D. ElGamal for signatures and DES 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. Only Bob can decrypt the ticket using his long-term key
B. The session key is published before Alice forwards the ticket
C. The ticket is protected using Alice's public verification key
D. Only the key distribution center can decrypt 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. The underlying hash function becomes reversible
B. Only one ciphertext block becomes unreadable
C. All public certificates must be regenerated
D. All session keys wrapped by that KEK are exposed

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. Reusing the same private values each time
B. Reducing the size of the prime modulus
C. Sending both private values over the network
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. The hash of Alice's own public verification key
C. The symmetric session key selected by the certificate authority
D. Bob's private key stored inside the certificate

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 prevents the public key from expiring
B. It detects substitution of Bob's public key
C. It generates a new private key for Bob
D. It encrypts Bob's public key during transmission

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 cannot detect modifications made to a message after transmission.
C. Bob cannot verify a MAC unless Alice reveals her private signature key to him.
D. A MAC always uses a digest shorter than the digest used by a digital signature.

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. Increase the digest length while preserving each local serialization.
B. Encrypt each JSON representation before computing its signature.
C. Canonicalize the document using one unambiguous encoding before hashing.
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. Sign the plaintext, package the signature with it, and encrypt the entire package.
B. Encrypt and sign independent encodings of the message, then omit any identifier associating the ciphertext with the signed representation.
C. Encrypt the plaintext first and sign only the resulting ciphertext.
D. Sign the encryption key and transmit the plaintext without its signature.

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 compute .
C. Choose randomly and compute .
D. Choose randomly and define .

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

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 the hash value is relatively prime to the public key.
B. It ensures that the public key uniquely determines the private key.
C. It ensures that is always a primitive root modulo .
D. It ensures that exists for computing .

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

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 taking the leftmost bits of the digest.
B. By reducing the entire -bit digest modulo .
C. By XORing the upper and lower -bit portions of the digest.
D. By taking the rightmost bits of the digest.

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 permits nonce reuse across different messages without exposing the private key.
B. It makes signatures secure even if the private key is publicly disclosed.
C. It removes the need to validate the public key and domain parameters.
D. It prevents failures caused by weak nonce randomness but does not inherently stop side-channel leakage.

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

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

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. Nonrepudiation, because the transcript MAC uniquely identifies Alice.
B. Information-theoretic secrecy against an attacker with unlimited computation.
C. Forward secrecy, assuming the Diffie–Hellman problem remains hard.
D. Anonymity from Bob, because the MAC hides Alice's participation.

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 proves that the peer's long-term secret has never been copied.
B. It converts the session key into a publicly verifiable signature key.
C. It demonstrates that the peer actually computed the same session key.
D. It guarantees that no future compromise can reveal the 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. Reject the certificate because the certified name violates a critical path constraint.
D. Ignore the constraint after checking revocation, certificate transparency, the server's cipher-suite preferences, and possession of the corresponding private key.

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. Any later network observer can derive the private key from the stored fingerprint.
C. A collision-resistant fingerprint cannot detect changes to the encoded public key.
D. An attacker controlling the first connection can establish the attacker's key as the trusted key.