🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
1 messages
1 total messages Started by Matthew J Ghio Thu, 08 Sep 1994 21:32
Re: What is PGP?
#685
Author: Matthew J Ghio
Date: Thu, 08 Sep 1994 21:32
45 lines
1953 bytes
In article <778969...@donbooth.demon.co.uk>
          D...@donbooth.demon.co.uk writes:

> In article <ciOEQ1_00...@andrew.cmu.edu>
>            mg...@andrew.cmu.edu "Matthew J Ghio" writes:
> 
> > You pick two prime numbers; for example 5 and 7.  Multiply them together,
> > equals 35.  Now you calculate the product of one less than each
number, plus
> > one.  (5-1)(7-1)+1=21.  There is a mathematical relationship that says that
>         ~~~~~~~~~~~~~~~
> 
> I beg your pardon. I am probably wrong because I do not understand
> RSA but doesnt 4*6+1=25

Oops... <red face> you're right...  I guess I typed that in too much
of a hurry.  Let me try another example:

Primes: 3,11

3*11=33
(3-1)(11-1)+1=21=3*7

Public key: 3
Secret key: 7

Encryption: c=p^3 mod 33
Decryption: p=c^7 mod 33


Now let's see if I'm right...
Suppose the message (plaintext) equals 2.

  2^3=8

Encrypted message is 8.

  8^7=2097152
  2097152 mod 33 = 2

Which recovers the orginal plaintext 2.


Feel free to double-check my math there... :)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads