Year: 2013
Type: article
Abstract: We study algorithms for the fast computation of modular inverses. Newton–Raphson iteration over$p$-adic numbers gives a recurrence relation computing modular inverse modulo${p^m}$, that is logarithmic in$m$. We solve the recurrence to obtain an explicit formula for the inverse. Then, we study different implementation variants of this iteration and show that our explicit formula is interesting for small exponent values but slower or large exponent, say of more than 700 bits. Overall, we thus propose a hybrid combination of our explicit formula and the best asymptotic variants. This hybrid combination yields then a constant factor improvement, also for large exponents.
Source: IEEE Transactions on Computers
DOI: 10.1109/tc.2013.94
Author: Jean-Guillaume Dumas
Language: English
Subfield: Information Systems
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
Funder: Agence Nationale de la Recherche
OpenAlex ID: W2114496760
