627 research outputs found

    A faster pseudo-primality test

    Get PDF
    We propose a pseudo-primality test using cyclic extensions of Z/nZ\mathbb Z/n \mathbb Z. For every positive integer klognk \leq \log n, this test achieves the security of kk Miller-Rabin tests at the cost of k1/2+o(1)k^{1/2+o(1)} Miller-Rabin tests.Comment: Published in Rendiconti del Circolo Matematico di Palermo Journal, Springe

    Close to Uniform Prime Number Generation With Fewer Random Bits

    Full text link
    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.Comment: Full version of ICALP 2014 paper. Alternate version of IACR ePrint Report 2011/48

    On Taking Square Roots without Quadratic Nonresidues over Finite Fields

    Full text link
    We present a novel idea to compute square roots over finite fields, without being given any quadratic nonresidue, and without assuming any unproven hypothesis. The algorithm is deterministic and the proof is elementary. In some cases, the square root algorithm runs in O~(log2q)\tilde{O}(\log^2 q) bit operations over finite fields with qq elements. As an application, we construct a deterministic primality proving algorithm, which runs in O~(log3N)\tilde{O}(\log^3 N) for some integers NN.Comment: 14 page
    corecore