On Shanks' Algorithm for Modular Square Roots

Abstract

Let p be a prime number, p=2nq+1, where q is odd. D. Shanks described an algorithm to compute square roots p which needs O( q + n2) modular multiplications. In this note we describe two modifications of this algorithm. The first needs only O( q + n3/2) modular multiplications, while the second is a parallel algorithm which needs n processors and takes O( q+n) time.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…