On Newton-Raphson iteration for multiplicative inverses modulo prime powers - Archive ouverte HAL Accéder directement au contenu
Rapport Année : 2012

On Newton-Raphson iteration for multiplicative inverses modulo prime powers

Jean-Guillaume Dumas

Résumé

We study algorithms for the fast computation of modular inverses. We first give another proof of the formulas of [1] for the modular inverse modulo 2 , derived from Newton-Raphson iteration over p-adic fields, namely Hensel's lifting. From the expression of Newton-Raphson's iteration we then derive a recurrence relation and an actually explicit formula for the modular inverse, generalizing to any prime power modulus. On the one hand, we show then that despite a worse complexity the two newly obtained algorithms can be 4 times faster for small exponents. On the other hand, these two algorithms become slower for arbitrary precision integers of more than 1500 bits.
Fichier principal
Vignette du fichier
invmodpk.pdf (292.28 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-00736701 , version 1 (28-09-2012)
hal-00736701 , version 2 (02-10-2012)
hal-00736701 , version 3 (09-10-2012)
hal-00736701 , version 4 (14-01-2018)
hal-00736701 , version 5 (14-05-2018)

Identifiants

Citer

Jean-Guillaume Dumas. On Newton-Raphson iteration for multiplicative inverses modulo prime powers. 2012. ⟨hal-00736701v1⟩
430 Consultations
549 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More