Efficient algorithms for the gcd and cubic residuosity in the ring of Eisenstein integers

  • Authors:
  • Ivan Bjerre Damgård;Gudmund Skovbjerg Frandsen

  • Affiliations:
  • BRICS11Basic Research in Computer Science, Centre of the Danish National Research Foundation., Department of Computer Science, University of Aarhus, IT-parken, Aabogade 34, DK-8200 Aarhus N, Denma ...;BRICS11Basic Research in Computer Science, Centre of the Danish National Research Foundation., Department of Computer Science, University of Aarhus, IT-parken, Aabogade 34, DK-8200 Aarhus N, Denma ...

  • Venue:
  • Journal of Symbolic Computation
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present simple and efficient algorithms for computing the gcd and cubic residuosity in the ring of Eisenstein integers, Z[@z], i.e. the integers extended with @z, a complex primitive third root of unity. The algorithms are similar and may be seen as generalisations of the binary integer gcd and derived Jacobi symbol algorithms. Our algorithms take time O(n^2) for n-bit input. For the cubic residuosity problem this is an improvement from the known results based on the Euclidean algorithm, and taking time O(n@?M(n)), where M(n) denotes the complexity of multiplying n-bit integers. For the gcd problem our algorithm is simpler and faster than an earlier algorithm of complexity O(n^2). The new algorithms have applications in practical primality tests and the implementation of cryptographic protocols.