English

Close to Uniform Prime Number Generation With Fewer Random Bits

Cryptography and Security 2014-06-30 v1 Number Theory

Abstract

In this paper, we analyze several variants of a simple method for generating prime numbers with fewer random bits. To generate a prime pp less than xx, the basic idea is to fix a constant qx1εq\propto x^{1-\varepsilon}, pick a uniformly random a<qa<q coprime to qq, and choose pp of the form a+tqa+t\cdot q, where only tt 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

R2 v1 2026-06-22T04:48:49.196Z