🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ucb.math
Article #1

Help - how do I solve this?

#1
From: either Jana or John
Date: Mon, 26 Jul 1999 00:00
40 lines
1421 bytes
How do I solve this expression?  It is part of the RSA public key
encryption algorithm.

The expression is
e*d mod L = 1
in other words
e*d = k*L+1

How do I find d?

I'll back up now and show you what e and L are:

p and q are prime numbers.
L = (p - 1)*(q - 1)
e is any number except for factors of L

N = p * q

To encrypt data m,
m^e mod N = encrypted data c

To decrypt data
m = c^d mod N

So, you see, I need d to decrypt data.

Example:
p = 19, q + 23, N = 437, L = 396, e = 13, d = 61
(but I don't know how d was calculated - that's what I need to know)

Encrypt the number 180
180^13 mod 437 = 208229648656711680000000000000 mod 437 = 329

Decrypt 329
329^61 mod 437
= (a very long number I won't bother to type) mod 437 = 180

Any help gratefully appreciated.

- j
Technical Details
Message-ID: <379cb31b.19444448@nntp.ix.netcom.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fdb1d,93621e32c86ffd6,start
X-Google-Attributes: gidfdb1d,public
X-Google-Thread: fad1e,93621e32c86ffd6,start
X-Google-Attributes: gidfad1e,public
X-Google-Thread: 10d67e,93621e32c86ffd6,start
X-Google-Attributes: gid10d67e,public
From: quikscor@ix.netcom.com (either Jana or John)
Subject: Help - how do I solve this?
Date: 1999/07/26
Message-ID: <379cb31b.19444448@nntp.ix.netcom.com>
X-Deja-AN: 505490940
Organization: Netcom
X-NETCOM-Date: Mon Jul 26  2:33:42 PM CDT 1999
Newsgroups: ucb.math,alt.math.undergrads,aus.mathematics