On the Computation of Square Roots in Finite Fields
Cite this article as: Müller, S. Designs, Codes and Cryptography (2004) 31: 301. doi:10.1023/B:DESI.0000015890.44831.e2 Abstract
In this paper, two improvements for computing square roots in finite fields are presented. Firstly, we give a simple extension of a method by O. Atkin, which requires two exponentiations in
FM , when q q≡9 mod 16. Our second method gives a major improvement to the Cipolla–Lehmer algorithm, which is both easier to implement and also much faster. While our method is independent of the power of 2 in q−1, its expected running time is equivalent to 1.33 as many multiplications as exponentiation via square and multiply. Several numerical examples are given that show the speed-up of the proposed methods, compared to the routines employed by Mathematica, Maple, respectively Magma. finite fields square roots efficient computation complexity References
A. O. L. Atkin, Probabilistic primality testing, Summary by F. Morain,
INRIA Res. Rep. 1779, (1992) pp. 159–163.
A. O. L. Atkin and F. Morain, Elliptic curves and primality proving,
, Vol. 61 (1993) pp. 29–68.
E. Bach and K. Huber, Note on taking square-roots modulo N,
IEEE Trans. Inf. Theory
45, No. 2 (1999) pp. 807–809.
E. Bach and J. Shallit,
Algorithmic Number Theory, Efficient Algorithms
, Vol. 1, MIT Press Cambridge, MA (1996).
E. R. Berlekamp, Factoring polynomials over large finite fields,
, Vol. 24 (1970) pp. 713–735.
D. Bressoud and S. Wagon,
Computational Number Theory, Springer (2000).
M. Cipolla, Un metodo per la risolutione della congruenza di secondo grado,
Rendiconto dell'Accademia Scienze Fisiche e Matematiche
, Napoli, Ser. 3, Vol. IX (1903) pp. 154–163.
R. Crandall and C. Pomerance,
Prime Numbers. A Computational Perspective, Springer (2001).
H. Dubner and W. Keller, Factors of generalized fermat numbers,
, Vol. 64, No. 209 (1995) pp. 397–405.
D. Gordon, A survey of fast exponentiation methods,
Journal of Algorithms
, Vol. 27 (1998) pp. 129–146.
A Course in Number Theory and Cryptography
, Springer, New York (1994).
D. H. Lehmer, Computer technology applied to the theory of numbers, In
Studies in Number Theory
, Prentice-Hall, Englewood Cliffs, NJ (1969) pp. 117–151.
S. Lindhurst, An analysis of Shanks's algorithm for computing square roots in finite fields,
Proceedings and Lecture Notes, Vol. 19 (1999) pp. 231–242.
A. Menezes, P. C. van Oorschot and S. Vanstone,
Handbook of Applied Cryptography, CRC (1997).
S. M. Meyer and J. Sorenson, Efficient algorithms for computing the Jacobi symbol,
Algorithmic Number Theory, ANTS II, Proceedings (ed. Henri Cohen), LNCS 1122 (1996) pp. 225–239.
S. Müller, On probable prime testing and the computation of square roots mod
n, Algorithmic Number Theory, ANTS IV, Proceedings (ed. Wieb Bosma), LNCS 1838 (2000) pp. 423–437.
S. Müller, On the rank of appearance and the number of zeros of the Lucas sequences over F
q, Finite Fields and Applications (eds. H. Niederreiter and A. Enge), Springer (2001) pp. 390–408.
W. B. Müller and R. Nöbauer, Cryptanalysis of the Dickson-scheme,
Advances in Cryptology, EUROCRYPT'85
, 50–61, Springer, Berlin (1986).
C. Pomerance, Analysis and comparison of some integer factoring algorithms. In
Computational Methods in Number Theory, Part I (eds. H. Lenstra Jr and R. Tijdeman), Vol. 154 of Math. Centre Tracts, Math. Centrum (1982) pp. 89–139.
M. O. Rabin, Probabilistic algorithms in finite fields,
SIAM J. Comput.
, Vol. 9 (1980) pp. 273–280.
H. Postl, Fast evaluation of Dickson Polynomials,
Contrib. to General Algebra
, Vol. 6 (1988) pp. 223–225.
Prime Numbers and Computer Methods for Factorization, Birkhäuser (1994).
R. Schoof, Elliptic curves over finite fields and the computation of square roots mod
p, Math. Comp.
, Vol. 44, No. 170 (1985) pp. 483–494.
D. Shanks, Five number-theoretic algorithms, In
Proc. 2nd Manitoba Conf. Numer. Math., Manitoba, Canada (1972) pp. 51–70.
A. Tonelli, Bemerkung über die Auflösung quadratischer Congruenzen,
Göttinger Nachrichten (1891) pp. 344–346.
H. C. Williams,
Édouard Lucas and Primality Testing, John Wiley & Sons (1998). Copyright information
© Kluwer Academic Publishers 2004