Close to Uniform Prime Number Generation with Fewer Random Bits - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2014

Close to Uniform Prime Number Generation with Fewer Random Bits

Résumé

In this paper, we analyze several variants of a simple method for generating prime numbers with fewer random bits. To generate a prime p less than x, the basic idea is to fix a constant q ∝ x 1−ε , pick a uniformly random a < q coprime to q, and choose p of the form a + t · q, where only t 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. 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. In particular: – it uses much fewer random bits than both the "trivial algorithm" (testing random numbers less than x for primality) and Maurer's almost uniform prime generation algorithm; – the distance of its output distribution to uniform can be made arbitrarily small, unlike algorithms like PRIMEINC (studied by Brandt and Damgård), which we show exhibit significant biases; – all quality measures (number of primality tests, output entropy, randomness, etc.) can be obtained under very standard conjectures or even unconditionally, whereas most previous nontrivial algorithms can only be proved based on stronger, less standard assumptions like the Hardy–Littlewood prime tuple conjecture.
Fichier principal
Vignette du fichier
1406.7078v1.pdf (207.53 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01094062 , version 1 (11-12-2014)

Identifiants

Citer

Pierre-Alain Fouque, Mehdi Tibouchi. Close to Uniform Prime Number Generation with Fewer Random Bits. ICALP 2014 - 41st International Colloquium on Automata, Languages and Programming, Jul 2014, Copenhague, Denmark. pp.11, ⟨10.1007/978-3-662-43948-7_82⟩. ⟨hal-01094062⟩
62 Consultations
91 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More