wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

UNIT 3 MCQ QUESTIONS

Total questions: 100

Worksheet time: 50mins

Name
Class
Date
1.

Given that MD5 is deterministic, which of the following strategies best exploits its predictability in a preimage attack scenario?

a)

Constructing hash collisions using modular exponentiation

b)

Reversing the compression function of MD5 using quantum oracles

c)

Precomputing a rainbow table of inputs and matching against known MD5 digests

d)

Generating keys using random salts to invalidate deterministic outputs

2.

Consider a secure system that validates document integrity using MD5. An attacker generates two documents with the same MD5 hash but different semantics. Which attack model best describes this scenario?

a)

First preimage attack

b)

Chosen prefix collision attack

c)

Birthday bound brute-force attack

d)

Chosen ciphertext attack

3.

Which structural feature of the MD5 algorithm makes it particularly susceptible to differential cryptanalysis?

a)

Its use of asymmetric compression in the final round

b)

The lack of key scheduling in the hash function

c)

Its predictable message expansion and fixed 64-round pipeline

d)

Its reliance on elliptic curve modular inverses

4.

Assume an attacker has access to GPU-accelerated infrastructure and wants to generate MD5 collisions in real-time. Which property of MD5 enables this feasibility?

a)

High entropy output

b)

Lack of memory-hardness

c)

Use of cryptographic salt

d)

Randomized initialization vectors

5.

How did the 2008 "Rogue CA" attack demonstrate the real-world implications of MD5's collision vulnerability?

a)

By exposing the root private key of a trusted CA

b)

By generating a fraudulent SSL certificate that chained to a trusted CA

c)

By modifying a CA's policy document via a hash collision

d)

By reversing the MD5 hash to reveal the signing algorithm

6.

If two files differ in only one bit but yield the same MD5 hash, which MD5 property is violated, and what does this imply about avalanche effect?

a)

Collision resistance is preserved, avalanche effect is intact

b)

Preimage resistance is violated, avalanche effect is weak

c)

Collision resistance is violated, implying broken avalanche property

d)

None are violated since MD5 ensures output variability on input change

7.

Which of the following best describes a major difference between MD5 and SHA-256 in terms of cryptographic resilience?

a)

SHA-256 uses modular exponentiation, MD5 uses polynomial fields

b)

MD5 is probabilistic, SHA-256 is deterministic

c)

SHA-256 has a higher collision complexity due to longer hash and stronger diffusion

d)

MD5 leverages elliptic curve cryptography, SHA-256 does not

8.

Why is it problematic to use MD5 in combination with digital signatures, even if the signature algorithm itself is secure?

a)

MD5 adds padding that makes the signature larger

b)

Collision attacks allow forging of a message with the same hash, bypassing signature integrity

c)

MD5 outputs only fixed-length messages

d)

The output of MD5 can be converted back to the private key

9.

From a cryptographic engineering perspective, which of the following would most effectively harden MD5 against brute-force preimage attacks in legacy systems?

a)

Encrypt the hash with AES-256

b)

Apply hash stretching with salts and key-derivation functions (e.g., PBKDF2)

c)

Add an RSA wrapper to the MD5 hash

d)

Reduce the keyspace of the input to limit entropy

10.

How does the Merkle–Damgård construction used in MD5 contribute to its vulnerabilities?

a)

It encrypts message blocks symmetrically

b)

It produces non-uniform output distributions

c)

It processes blocks linearly, making internal state attacks possible

d)

It prevents hash chaining and salting

11.

An attacker uses a chosen-prefix collision attack on MD5 to sign a malicious software update. The signed hash matches a trusted vendor's software. What aspect of cryptographic integrity has been violated?

a)

Authenticity and confidentiality

b)

Forward secrecy

c)

Integrity and trust chaining

d)

Key derivation and session management

12.

In an environment requiring secure password storage, which argument most strongly justifies rejecting MD5 in favor of Argon2 or bcrypt, even with added salting?

a)

MD5 hashes are encrypted during transmission

b)

MD5 requires a higher entropy salt for security

c)

MD5's lack time and memory complexity, making it GPU-attackable

d)

MD5 hashes are compatible only with legacy Unix systems

13.

A cryptographic engineer proposes a hybrid model where MD5 is used as a pre-hash before applying a secure SHA-512 hash. What is the main flaw in this design?

a)

SHA-512 becomes vulnerable if preceded by MD5

b)

The hybrid output violates key agreement protocols

c)

The MD5 pre-hash introduces structural weaknesses exploitable via second preimage attacks

d)

Hashing twice ensures entropy loss in secure communications

14.

You are designing a digital forensic tool that compares file hashes to detect tampering. Why is using MD5 for this purpose problematic under adversarial conditions?

a)

MD5 outputs variable-length digests

b)

Hash collision generation could allow tampered files to evade detection

c)

MD5 is computationally too expensive for real-time scanning

d)

Files cannot be hashed unless encrypted first

15.

Consider a blockchain-based voting system that uses MD5 to hash votes for auditability. Which core property of blockchain security is undermined, and why?

a)

Decentralization, due to key distribution flaws

b)

Transparency, as hashes can be decrypted

c)

Immutability, because MD5 allows vote collisions and falsification

d)

Latency, because MD5 slows down block propagation

16.

SHA-2 improves upon SHA-1 by introducing which critical design enhancement that mitigates known differential attacks?

a)

Use of a Merkle–Damgård construction

b)

Replacing XOR with modular multiplication

c)

Increased internal state size and rounds with different constants

d)

Support for variable-length output

17.

In cryptographic protocol design, why is SHA-1 considered insecure for digital signatures?

a)

SHA-1 outputs non-uniform hashes

b)

It leaks private key information via side channels

c)

It is susceptible to practical collision attacks that allow forged signatures

d)

It only supports 64-bit output, limiting entropy

18.

If two distinct files produce the same SHA-1 hash, which cryptographic property is violated?

a)

One-wayness

b)

Collision resistance

c)

Key separation

d)

Preimage resistance

19.

Which structural feature of SHA-3 distinguishes it from SHA-1 and SHA-2 and improves resistance to length extension attacks?

a)

Use of HMAC padding

b)

Merkle–Damgård construction

c)

Keccak sponge construction

d)

Block chaining with linear diffusion

20.

Why does SHA-3 not replace SHA-2 despite its higher theoretical security?

a)

SHA-3 is slower in hardware for short messages

b)

SHA-2 is post-quantum secure

c)

SHA-3 is not approved by NIST

d)

SHA-2 uses elliptic curve primitives unlike SHA-3

21.

What makes SHA-2 immune to the known length extension attacks affecting MD5 and SHA-1?

a)

It uses HMAC internally

b)

It finalizes the hash with a secret post-processing key

c)

It uses a strong initialization vector

d)

It validates input at block size during compression

22.

SHA-512 offers more resistance to collision attacks than SHA-256 primarily due to:

a)

Double padding

b)

Longer bit output and wider internal state

c)

Use of elliptic curve encoding

d)

SHA-512 uses a sponge construction

23.

Which scenario demonstrates a second-preimage attack vulnerability in a hash function?

a)

Creating a fraudulent message with the same hash as a signed one

b)

Predicting the hash of a message without seeing the input

c)

Finding two random inputs with the same hash

d)

Finding a message that matches a hash of a specific known message

24.

Which of the following statements best characterizes SHA-3’s defense against side-channel attacks?

a)

Keccak’s iterative structure is inherently resistant to timing attacks

b)

SHA-3 masks all memory accesses

c)

SHA-3 relies on randomized digest chaining

d)

SHA-3’s wide-pipe architecture introduces entropy padding

25.

In a blockchain application, replacing SHA-256 with SHA-1 would most adversely affect which property?

a)

Throughput of consensus

b)

Smart contract complexity

c)

Immutability of blocks

d)

Key management strategy

26.

A developer attempts to use SHA-256 in a password storage system. Which flaw could still make the system vulnerable?

a)

Lack of elliptic curve verification

b)

SHA-256’s non-deterministic hashing

c)

Absence of salting and iteration (no key stretching)

d)

Output size not matching AES key requirements

27.

How does SHA-3’s sponge construction contribute to domain separation?

a)

It uses separate compression and expansion phases

b)

Each application can prepend a unique customization string

c)

It disables output reusability through XOR chaining

d)

It masks input using a symmetric key preamble

28.

Which feature of SHAKE (Extendable Output Function) gives it flexibility over fixed-length hash functions like SHA-256?

a)

Variable rounds per block

b)

Arbitrary-length output

c)

AES-based internal core

d)

Symmetric key expansion

29.

A hash function produces identical outputs for every input of the same length. What fundamental property is violated?

a)

Collision resistance

b)

Preimage resistance

c)

One-wayness

d)

Key separation

30.

Which property distinguishes a cryptographic hash from a checksum like CRC?

a)

It provides format-preserving encryption

b)

It ensures constant runtime

c)

It is collision and preimage resistant

d)

It uses cyclic polynomials for validation

31.

In a multi-signer document approval workflow, each signer appends their digital signature sequentially. What critical vulnerability can arise if signers do not sign both the document and the prior signatures?

a)

Weak entropy

b)

Nested signature replay

c)

Signature stripping

d)

Hash chain collapse

32.

Alice digitally signs a message using RSA + SHA-256. Mallory intercepts and modifies the message and appends a new valid signature using her own private key. The system only checks for a valid signature but not the sender identity. What attack has occurred?

a)

Signature forgery

b)

Chosen-message attack

c)

Impersonation through signature injection

d)

Public key misuse attack

33.

Consider an enterprise using ECDSA. If the same random nonce (k) is accidentally reused across different messages, what attack becomes feasible?

a)

Timing attack

b)

Collision-resistance breach

c)

Private key recovery

d)

Birthday paradox attack

34.

In post-quantum cryptography, signature schemes like SPHINCS+ adopt hash-based trees. What is the primary trade-off of SPHINCS+ compared to traditional schemes like RSA?

a)

Higher entropy, lower key storage

b)

Smaller signatures, longer key reuse cycles

c)

Larger signatures and slower signing

d)

Better forward secrecy, weaker authenticity

35.

A signer includes a document hash and a timestamp in their signed payload, but the timestamp is not cryptographically bound. What attack scenario is enabled?

a)

Chosen-ciphertext attack

b)

Timestamp oracle poisoning

c)

Time-shifting attack

d)

Proof-of-work manipulation

36.

In a digital signature verification process, a hardware security module (HSM) is used to manage private keys. A timing side-channel is detected. What aspect is being leaked?

a)

Key entropy

b)

Modular exponentiation time

c)

Certificate serial number

d)

Hash output

37.

Which digital signature protocol would best minimize signer repudiation in a blockchain-based court-admissible evidence system?

a)

ECDSA with ephemeral keys

b)

RSA with offline timestamping

c)

Hash-based Lamport signatures

d)

BLS signatures with threshold consensus

38.

A document is signed using a digital signature, then the signature and document are separately encrypted using asymmetric keys. What critical mistake may undermine signature integrity?

a)

Padding error on encrypted hash

b)

Loss of non-repudiation due to post-signature encryption

c)

Hash-collision attack on document

d)

Algorithmic mismatch between signer and verifier

39.

In a zero-knowledge proof system that includes digital signatures for attestation, what unique risk does signature reuse across multiple proofs introduce?

a)

Nonce inference

b)

Sybil amplification

c)

Traceability from linkage

d)

Block entropy collapse

40.

In the case of quantum attacks against RSA and ECDSA, why are lattice-based digital signature schemes considered more resilient?

a)

They use random padding

b)

They are based on non-abelian group hardness geometric problems

c)

Their security relies on hard geometric problems

d)

They require dynamic key regeneration

41.

You’re designing a system where IoT devices sign messages locally and send them over an unreliable channel. Which risk is most critical?

a)

Signature decoding errors

b)

Signature loss due to limited bandwidth

c)

Malleability of signature if ECC is used

d)

Replay of previously signed commands

42.

The company uses a timestamp authority (TSA) to bind time to digital signatures. What cryptographic assumption underlies the TSA’s trust?

a)

Bounded leakage assumption

b)

Trusted setup model

c)

Hash inversion assumption

d)

Forward secrecy assumption

43.

What is the theoretical impact on a signature scheme’s existential unforgeability if the hash function used becomes second-preimage vulnerable?

a)

Keys can be swapped

b)

Signature non-determinism increases

c)

Signatures can be reused safely

d)

An attacker can forge a signature on a new message

44.

If a private key used for digital signing is backed up in encrypted form on cloud storage, what additional step is essential to ensure non-repudiation remains legally valid?

a)

Frequent key refreshing

b)

Key escrow registration

c)

HSM-sealed signature logging

d)

Key compromise proof inclusion

45.

Which advanced feature of BLS signatures makes them particularly suitable for decentralized consensus protocols?

a)

Hash salting

b)

Threshold certificate chaining

c)

Signature aggregation

d)

Timestamp obfuscation

46.

What is the most critical assumption Kerberos makes for maintaining session security?

a)

Integrity of the ticket granting server

b)

Confidentiality of password hashing algorithms

c)

Accurate and synchronized system clocks

d)

Availability of pre-authentication metadata

47.

In Kerberos, the client obtains a TGT from the AS. If this TGT is stolen by an insider, what is the maximum damage an attacker can do?

a)

Gain access to all encrypted documents

b)

Forge signatures in SSL sessions

c)

Access services impersonating the client within ticket lifetime

d)

Escalate to root-level privilege

48.

Kerberos prevents replay attacks by including what in its protocol messages?

a)

MAC and IV

b)

Timestamps and nonce

c)

Key salts and blockchains

d)

OTP tokens and biometrics

49.

A rogue admin has VPN access to monitor encrypted traffic. What Kerberos property most effectively prevents him from misusing intercepted service tickets?

a)

Asymmetric key exchange

b)

Client authentication chaining

c)

Session keys encrypted with client keys

d)

Use of biometrics

50.

If a client fails mutual authentication with a kerberized server, which is the most probable root cause?

a)

Incorrect DNS zone

b)

TGS private key mismatch

c)

Server’s keytab file is missing or outdated

d)

Client’s password is weak

51.

In cross-realm Kerberos trust, which component must be securely exchanged between realms?

a)

Ticket checksum

b)

Password hashes

c)

Shared inter-realm key

d)

AS key list

52.

What risk does Kerberos face if clock drift exceeds the default 5-minute skew tolerance?

a)

Unrestricted impersonation

b)

Premature ticket expiration or rejection

c)

Disabling of hash chains

d)

Server-side DoS due to resync loops

53.

In a hybrid cloud, what’s the best practice for ensuring Kerberos security with geographically distributed data centers?

a)

Use only one global TGS

b)

Replace Kerberos with SSH

c)

Implement NTP with hierarchical trust

d)

Allow unlimited ticket lifetimes

54.

In Kerberos, how can you detect a ticket replay attack in real-time?

a)

Check timestamp and reuse of authenticator

b)

Match IP header fingerprinting

c)

Rotate encryption keys hourly

d)

Compare MAC address logs

55.

A service ticket encrypted with the service’s key is unreadable by the client. What is its purpose then?

a)

To verify server signature

b)

To deliver session key securely

c)

To store metadata for DNS lookup

d)

To replace password-based login

56.

Why can Kerberos be vulnerable to offline brute-force attacks if pre-authentication is disabled?

a)

AS sends hash of password in cleartext

b)

TGS issues unsigned tokens

c)

AS returns encrypted timestamp without validation

d)

AS returns encrypted message that can be cracked offline

57.

Which enhancement adds forward secrecy to Kerberos-based exchanges?

a)

AES-CBC over RC4

b)

Use of ephemeral DH for session key exchange

c)

Base64 padding

d)

Static keytab verification

58.

An attacker captures the AS-REP (response) to a client. What is a realistic mitigation to prevent credential cracking?

a)

Pre-authentication with timestamp

b)

AES-ECB encryption

c)

Decentralized authentication

d)

Disabling DNS SRV

59.

Why is Kerberos unsuitable for environments with long session durations and no reliable time sync?

a)

It lacks asymmetric key exchange

b)

It does not allow symmetric key reuse

c)

It depends on short-lived time-bound tokens

d)

It forces password updates every 30 minutes

60.

Which modern extension improves Kerberos resilience in cloud-native systems with dynamic users and ephemeral nodes?

a)

Kerberos with JWT

b)

Kerberos with SPNEGO + SAML

c)

Kerberos with plaintext fallback

d)

Kerberos over static routing

61.

In a zero-trust enterprise architecture, a client authenticates using an X.509 certificate, but the backend rejects it despite a valid trust chain. The OCSP response shows “good.” Which is the most likely root cause?

a)

OCSP response was unsigned

b)

The certificate’s KeyUsage doesn’t include client authentication

c)

The certificate has a short-lived lifetime

d)

The chain lacks a CRL distribution point

62.

A malicious insider creates a rogue intermediate CA signed by a compromised root. What is the most secure and minimal step a client system should take to mitigate trust to this rogue CA?

a)

Update all OCSP responders

b)

Implement explicit trust pinning and remove root CA

c)

Add the rogue CA to CRL

d)

Restart TLS services

63.

During high-frequency transactions, a financial services app detects latency due to OCSP response fetching. A security architect proposes OCSP stapling. What must be in place to ensure stapled responses are secure and fresh?

a)

DNSSEC for OCSP server IP resolution

b)

Signed OCSP responses with freshness constraints and nonce support

c)

Key pinning to avoid resuscitation

d)

Static stapled data with CRL overlays

64.

A distributed ledger integrates X.509 authentication for API access. Developers notice that revocation isn’t propagating reliably across global nodes. What’s the most scalable solution?

a)

Move to SAML-based access

b)

Use blockchain to verify OCSP

c)

Implement OCSP stapling with delta CRLs

d)

Replace X.509 with HMAC tokens

65.

You are performing a forensic audit on a suspected MITM attack. The attacker used a self-signed cert with matching CN. TLS clients didn’t alert. What’s the most plausible misconfiguration?

a)

OCSP stapling was disabled

b)

Client did not validate certificate chain

c)

CRL was not updated

d)

TLS version mismatch

66.

An identity federation system uses multiple CAs under different jurisdictions. Legal policy requires revocable delegation of signing rights. Which X.509 extension allows such conditional delegation?

a)

BasicConstraints

b)

NameConstraints

c)

ProxyCertInfo

d)

KeyUsage

67.

A certificate contains a “critical” KeyUsage extension permitting only keyAgreement. It is used for mutual TLS. What failure will occur?

a)

Server identity validation fails

b)

Signature verification fails

c)

Cipher negotiation fails

d)

Client certificate rejection

68.

In a hybrid environment, a certificate includes NameConstraints for certain subdomains. A malicious user attempts to sign a cert outside the allowed subtree. What ensures failure during verification?

a)

BasicConstraints check

b)

SAN wildcard mismatch

c)

Certificate path validation enforces name constraints

d)

CRL entry for parent CA

69.

A critical IoT device fleet uses long-lived certificates without OCSP support due to offline deployment. What’s the best secure design pattern to ensure revocation?

a)

Hardcoded CRL list

b)

Proxy gateway with periodic CRL fetch and enforcement

c)

Use DNS-based cert validation

d)

Implement mutual TLS with symmetric fallback

70.

A client sends a TLS ClientHello, and the server sends a certificate chain that includes a missing intermediate CA. Which result follows in a strict verification environment?

a)

Client downloads the missing CA via AIA

b)

Client fails to validate the chain

c)

Server issues a new handshake

d)

OCSP fallback triggers auto-trust

71.

How can the BasicConstraints extension in an X.509 certificate help enforce a multi-tier PKI hierarchy?

a)

It specifies how keys are derived from entropy pools

b)

It marks whether a certificate can act as a CA

c)

It adds semantic tagging for IoT use

d)

It enables OCSP bypass for root certificates

72.

A digital certificate is valid, but a client blocks it citing “Untrusted path length exceeded.” What’s the cryptographic interpretation?

a)

Chain includes more than 3 RSA keys

b)

The BasicConstraints pathLenConstraint is violated

c)

The signature algorithm is deprecated

d)

The keyUsage is set to nonRepudiation

73.

Which property of a hash function ensures it is infeasible to find two different inputs that produce the same output?

a)

Preimage resistance

b)

Collision resistance

c)

Second preimage resistance

d)

Avalanche effect

74.

What is the main purpose of using a secret key in HMAC?

a)

To increase hash output length

b)

To protect against preimage attacks

c)

To provide message authentication and integrity

d)

To speed up the hashing process

75.

75. Assertion (A): HMAC prevents length extension attacks inherent to some hash functions. Reason (R): HMAC hashes the key both inside and outside the message hash.

a)

Both A and R are true, and R explains A

b)

Both A and R are true, but R does not explain A

c)

A is true, R is false

d)

A is false, R is true

76.

If a secret key used in HMAC is shorter than the hash function’s block size, what happens to the key?

a)

It is hashed first to create a fixed-length key

b)

It is padded with zeros to match the block size

c)

It is truncated to the block size

d)

It is rejected as invalid

77.

Which of the following attacks does the use of salts in hashing primarily defend against?

a)

Collision attacks

b)

Replay attacks

c)

Rainbow table attacks

d)

Length extension attacks

78.

Which feature of a cryptographic hash function ensures that a small change in input drastically changes the output?

a)

Collision resistance

b)

Avalanche effect

c)

Preimage resistance

d)

Deterministic output

79.

Why is HMAC preferred over a simple keyed hash for message authentication?

a)

HMAC uses multiple hash functions to increase security

b)

HMAC resists length extension attacks better

c)

HMAC produces shorter hash outputs

d)

HMAC does not use a secret key

80.

Which one of these properties does NOT describe a good cryptographic hash function?

a)

Deterministic

b)

One-way

c)

Easily invertible

d)

Collision-resistant

81.

If the output size of a hash function is 256 bits, approximately how many operations are needed to find a collision using the birthday attack?

a)

21282^128

b)

22562^256

c)

2642^64

d)

25122^512

82.

What is the primary difference between a MAC and a digital signature?

a)

MACs provide non-repudiation, digital signatures do not

b)

MACs use symmetric keys; digital signatures use asymmetric keys

c)

MACs require public verification; digital signatures do not

d)

MACs are computationally slower than digital signatures

83.

In the Merkle-Damgård construction, how is variable-length input handled?

a)

By truncating the input

b)

By padding the input to fixed size and iteratively processing

c)

By hashing only the first block

d)

By concatenating all blocks without modification

84.

Which of the following is a common method to prevent preimage attacks on a hash function?

a)

Using a longer output hash size

b)

Using faster hash algorithms

c)

Increasing the input message length

d)

Using symmetric key cryptography

85.

85. Assertion (A): A collision attack is easier to perform than a preimage attack for the same hash function. Reason (R): Birthday paradox reduces the complexity of finding collisions compared to preimages.

a)

Both A and R are true, and R explains A

b)

Both A and R are true, but R does not explain A

c)

A is true, R is false

d)

A is false, R is true

86.

Which hash function vulnerability led to the development of SHA-3?

a)

Inefficiency in software implementation

b)

Collision vulnerabilities in SHA-1 and SHA-2

c)

Inability to handle long messages

d)

Weaknesses to side-channel attacks

87.

Which part of HMAC computation involves XORing the key with the outer pad?

a)

Initial hash input

b)

Final hash output

c)

Second hash input after inner hash is computed

d)

Hashing the message with the key

88.

How does a MAC differ from a hash function?

a)

MAC requires a secret key, hash function does not

b)

MAC is slower than a hash function

c)

MAC is publicly verifiable, hash function is not

d)

MAC always produces shorter outputs

89.

What is the main role of the compression function in a hash function?

a)

To encrypt the input data

b)

To produce a fixed-length output from fixed-size input blocks

c)

To increase the input length

d)

To generate keys for HMAC

90.

An attacker wants to exploit a length extension attack. Which of the following hash functions is most vulnerable?

a)

SHA-256

b)

MD5

c)

SHA-3

d)

BLAKE2

91.

Why is it important for a hash function used in MAC to have strong collision resistance?

a)

To prevent the attacker from generating two different messages with the same MAC

b)

To speed up the hashing process

c)

To minimize storage requirements

d)

To allow public verification of the MAC

92.

Which algorithm is primarily used for generating digital signatures in the Digital Signature Standard (DSS)?

a)

RSA

b)

DSA (Digital Signature Algorithm)

c)

El Gamal

d)

Schnorr Signature

93.

In DSS, which of the following parameters is NOT part of the public key?

a)

A. Prime modulus p

b)

B. Generator g

c)

C. Private key x

d)

D. Public key y

94.

Assertion (A): The security of DSS relies on the difficulty of the discrete logarithm problem. Reason (R): Discrete logarithms are easy to compute in polynomial time.

a)

Both A and R are true, and R explains A

b)

Both A and R are true, but R does not explain A

c)

A is true, R is false

d)

A is false, R is true

95.

In DSS signature generation, the random number kkk must be:

a)

Publicly known

b)

Kept secret and unique per signature

c)

Equal to the private key

d)

Chosen from the message hash

96.

Which hash function is typically used in DSS for hashing the message before signing?

a)

MD5

b)

SHA-1

c)

SHA-256

d)

Blake2

97.

Why is reusing the same random k in DSS signature generation dangerous?

a)

It makes signatures invalid

b)

It allows recovery of the private key

c)

It speeds up verification

d)

It enhances security

98.

Which step verifies a DSS digital signature?

a)

Checking if the signature equals the message hash

b)

Computing v=g^u1*y^u2 mod p and comparing it with the signature component C

c)

Decrypting the signature using the private key

d)

Rehashing the signature value

99.

Which property does DSS guarantee for the digital signatures it generates?

a)

Confidentiality

b)

Integrity and Non-repudiation

c)

Anonymity

d)

Key exchange

100.

What is the main reason DSS uses a subgroup of order qqq instead of the entire multiplicative group modulo p?

a)

To reduce computation cost

b)

To enhance security by making the discrete log problem harder

c)

To avoid collisions in signatures

d)

To simplify key generation