On Shanks' Algorithm for Modular Square Roots

preprint2011arXivOpen access

Abstract

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

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.