arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1105.1456math.NT
收藏

关于Shanks求模平方根的算法

On Shanks' Algorithm for Modular Square Roots

Jan-Christoph Schlage-Puchta

摘要:

设$p$为素数$p=2^nq+1$,其中$q$为奇数。D. Shanks描述了一种计算平方根$\pmod{p}$的算法,该算法需要$O(\log q + n^2)$模乘。在这篇文章中,我们描述了这个算法的两个修改。第一种算法只需要进行$O(\log q + n^{3/2})$模乘运算,而第二种算法是一种并行算法,需要$n$处理器,需要$O(\log q+n)$时间。

英文摘要:

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

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑