Random Number Generation from Pulsars
Hayder Tirmazi
TL;DR
The paper addresses obtaining cryptographically strong randomness from astrophysical timing data without specialized hardware. It models pulsar timing residuals as a $k$-source and applies a strong randomness extractor via the Leftover Hash Lemma, using a universal hash (SHAKE-256) to produce near-uniform bits, with empirical min-entropy evidence across multiple pulsars and validation by the NIST suite. The main contributions are a formal cryptographic guarantee under a plausible physical model, a practical extraction pipeline, and open-source tools with public pulsar data. The work highlights a hardware-free, environmentally robust RNG option that can support cryptographic primitives, Monte Carlo simulations, probabilistic data structures, and machine learning pipelines, while outlining open challenges such as broader pulsar coverage and deployment considerations.
Abstract
Pulsars exhibit signals with precise inter-arrival times that are on the order of milliseconds to seconds, depending on the individual pulsar. There are subtle variations in the timing of pulsar signals. We show that these variations can serve as a natural entropy source for the creation of Random Number Generators (RNGs). We also explore the effects of using randomness extractors to increase the entropy of random bits extracted from Pulsar timing data. To evaluate the quality of the Pulsar RNG, we model its entropy as a $k$-source and use well-known cryptographic results to show its closeness to a theoretically ideal uniformly random source. To remain consistent with prior work, we also show that the Pulsar RNG passes well-known statistical tests such as the NIST test suite.
