Statistical testing of random number generators and their improvement using randomness extraction

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Foreman, Cameron, Yeung, Richie, Curchod, Florian J.
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929666805202944
author Foreman, Cameron
Yeung, Richie
Curchod, Florian J.
author_facet Foreman, Cameron
Yeung, Richie
Curchod, Florian J.
contents Random number generators (RNGs) are notoriously challenging to build and test, especially for cryptographic applications. While statistical tests cannot definitively guarantee an RNG's output quality, they are a powerful verification tool and the only universally applicable testing method. In this work, we design, implement, and present various post-processing methods, using randomness extractors, to improve the RNG output quality and compare them through statistical testing. We begin by performing intensive tests on three RNGs -- the 32-bit linear feedback shift register (LFSR), Intel's 'RDSEED,' and IDQuantique's 'Quantis' -- and compare their performance. Next, we apply the different post-processing methods to each RNG and conduct further intensive testing on the processed output. To facilitate this, we introduce a comprehensive statistical testing environment, based on existing test suites, that can be parametrised for lightweight (fast) to intensive testing.
format Preprint
id arxiv_https___arxiv_org_abs_2403_18716
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Statistical testing of random number generators and their improvement using randomness extraction
Foreman, Cameron
Yeung, Richie
Curchod, Florian J.
Cryptography and Security
Quantum Physics
Random number generators (RNGs) are notoriously challenging to build and test, especially for cryptographic applications. While statistical tests cannot definitively guarantee an RNG's output quality, they are a powerful verification tool and the only universally applicable testing method. In this work, we design, implement, and present various post-processing methods, using randomness extractors, to improve the RNG output quality and compare them through statistical testing. We begin by performing intensive tests on three RNGs -- the 32-bit linear feedback shift register (LFSR), Intel's 'RDSEED,' and IDQuantique's 'Quantis' -- and compare their performance. Next, we apply the different post-processing methods to each RNG and conduct further intensive testing on the processed output. To facilitate this, we introduce a comprehensive statistical testing environment, based on existing test suites, that can be parametrised for lightweight (fast) to intensive testing.
title Statistical testing of random number generators and their improvement using randomness extraction
topic Cryptography and Security
Quantum Physics
url https://arxiv.org/abs/2403.18716