![]() |
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 - 09:55:53 CEST
TJakobsen <TJakobsenDK@gmail.com> wrote:
Your equation says that d should be an inverse of e modulo phi(n).
First, you need to understand what an inverse is. This is easy: a is
3*7 = 21 = 1 (mod 20).
Second, you need to understand how to calculate an inverse of a
sx + tn = 1
then it is easy to show that s is an inverse of x modulo n.
-- Kristian GjøsteenReceived on Mon May 1 01:54:07 2006 |