Cryptography

A developer generates encryption keys with a pseudo-random generator seeded from the server's boot time in seconds. What is the main weakness?

Show the answer

Correct answerB. The low-entropy seed makes the keys predictable

AWhy not this: Integrity protection is a separate property and does not relate to how the keys were generated.

BWhy this is right: A guessable seed gives few possible outputs, so an attacker can reproduce the keys by brute force over seeds.

CWhy not this: Hashing a key afterward does not add entropy to a predictable seed.

DWhy not this: Generator output length is not the issue; the problem is predictability of the seed.

Key strength depends on the unpredictability (entropy) of the seed. A boot time can be guessed within a small range, so an attacker can regenerate the same keys. Hashing keys or adding integrity does not restore lost entropy.