![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
sci.crypt archiveRe: RSA decryption exponent d (c++)
From: Kristian Gjøsteen <kristiag+news@item.ntnu.no>
Date: Fri Mar 31 2006 - 23:01:02 CEST
Timo Johansson <johansson@despammed.com> wrote:
You are on the right track, but missing a phi:
e^{-1} = e^{phi(phi(n)) - 1} (mod phi(n))
by Euler's theorem.
>The result is a quite huge number, but you can use modulo reduction after
Observer that your code is no faster than searching for an inverse.
-- Kristian GjøsteenReceived on Mon May 1 01:54:18 2006 |