nerdexam
CompTIA

CAS-001 · Question #345

When generating a new key pair, a security application asks the user to move the mouse and type random characters on the keyboard. Which of the following BEST describes why this is necessary?

The correct answer is B. The user is providing entropy so the application can use random data to create the key pair. Cryptographic key generation requires high-quality randomness. Computers are fundamentally deterministic, so they rely on an entropy pool - a collection of unpredictable real-world data - to seed cryptographically secure random number generators (CSPRNGs). User-generated…

Enterprise Security

Question

When generating a new key pair, a security application asks the user to move the mouse and type random characters on the keyboard. Which of the following BEST describes why this is necessary?

Options

  • AThe user needs a non-repudiation data source in order for the application to generate the key pair.
  • BThe user is providing entropy so the application can use random data to create the key pair.
  • CThe user is providing a diffusion point to the application to aid in creating the key pair.
  • DThe application is requesting perfect forward secrecy from the user in order to create the key pair.

How the community answered

(32 responses)
  • A
    3% (1)
  • B
    91% (29)
  • C
    6% (2)

Explanation

Cryptographic key generation requires high-quality randomness. Computers are fundamentally deterministic, so they rely on an entropy pool - a collection of unpredictable real-world data - to seed cryptographically secure random number generators (CSPRNGs). User-generated actions such as mouse movements, mouse position timing, and keystrokes are inherently unpredictable and provide excellent entropy. Without sufficient entropy, the CSPRNG output could be predictable, resulting in weak keys that are vulnerable to brute-force or prediction attacks. This is not about non-repudiation, diffusion (a cipher design concept), or perfect forward secrecy (a key exchange property).

Topics

#key generation#entropy#cryptography#randomness

Community Discussion

No community discussion yet for this question.

Full CAS-001 Practice