Close to Uniform Prime Number Generation With Fewer Random Bits
Abstract
In this paper, we analyze several variants of a simple method for generating prime numbers with fewer random bits. To generate a prime less than , the basic idea is to fix a constant , pick a uniformly random coprime to , and choose of the form , where only is updated if the primality test fails. We prove that variants of this approach provide prime generation algorithms requiring few random bits and whose output distribution is close to uniform, under less and less expensive assumptions: first a relatively strong conjecture by H.L. Montgomery, made precise by Friedlander and Granville; then the Extended Riemann Hypothesis; and finally fully unconditionally using the Barban-Davenport-Halberstam theorem. We argue that this approach has a number of desirable properties compared to previous algorithms.
Keywords
Cite
@article{arxiv.1406.7078,
title = {Close to Uniform Prime Number Generation With Fewer Random Bits},
author = {Pierre-Alain Fouque and Mehdi Tibouchi},
journal= {arXiv preprint arXiv:1406.7078},
year = {2014}
}
Comments
Full version of ICALP 2014 paper. Alternate version of IACR ePrint Report 2011/481