InterviewStack.io LogoInterviewStack.io

Random Number Generation and Entropy Questions

Sources of randomness and their role in security: entropy collection, cryptographically secure pseudorandom number generators (CSPRNGs), seeding, and the consequences of weak or reused randomness. Covers distinguishing statistical from cryptographic randomness and diagnosing entropy-related vulnerabilities.

HardTechnical
70 practiced

Discuss security implications of using hash functions to accumulate entropy into an RNG (e.g., hashing multiple entropy sources into a single seed). When is simple hashing adequate versus when you should use a standardized DRBG (like HMAC-DRBG)? How do you design reseed and state-compromise recovery procedures?

EasyTechnical
67 practiced

Explain the role of randomness in asymmetric key generation and key exchange. Describe what properties a Cryptographically Secure PRNG (CSPRNG) must have, typical entropy sources (OS, TRNG), seeding strategies, and the real-world consequences of weak randomness. Cite at least one historical example of failure.

That is every published Random Number Generation and Entropy question for Cryptographer so far. Browse the other topics in this category, or practice this one interactively.