/plushcap/analysis/cloudflare/ensuring-randomness-with-linuxs-random-number-generator

Ensuring Randomness with Linux's Random Number Generator

What's this blog post about?

The text discusses the importance of generating random numbers for secure systems and how Linux's internal random number generator achieves this. It explains that computers are deterministic machines and finding sources of randomness in them is challenging. For Cloudflare servers, they rely on the random number generator built into the Linux operating system. The text also delves into entropy and its importance for cryptographic keys. Furthermore, it describes how the kernel uses timestamps to stir the entropy pool and how cryptographic hash functions are used to generate high-entropy random numbers. Lastly, it mentions Intel's hardware number generator as a potential source of randomness and highlights third-party entropy generators for servers without access to diverse sources of randomness.

Company
Cloudflare

Date published
Oct. 3, 2013

Author(s)
Nick Sullivan

Word count
2376

Hacker News points
2

Language
English


By Matt Makai. 2021-2024.