Article View: alt.privacy.anon-server
Article #685Re: What is PGP?
From: Matthew J Ghio
Date: Thu, 08 Sep 1994 21:32
Date: Thu, 08 Sep 1994 21:32
45 lines
1953 bytes
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... :)
Technical Details
Message-ID:
<8iPs=NG00awT82l14B@andrew.cmu.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!nntp.gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!ceylon!news2.near.net!das-news.harvard.edu!casaba.srv.cs.cmu.edu!bb3.andrew.cmu.edu!andrew.cmu.edu!mg5n+References:
<1994Sep2.201558.7559@wdl.loral.com> <ciOEQ1_00awQM6FkYN@andrew.cmu.edu> <778969250snz@donbooth.demon.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <8iPs=NG00awT82l14B@andrew.cmu.edu> Subject: Re: What is PGP? Date: Thu, 8 Sep 1994 17:32:09 -0400 From: Matthew J Ghio <mg...@andrew.cmu.edu> References: <1994Sep2.201558.7559@wdl.loral.com> <ciOEQ1_00awQM6FkYN@andrew.cmu.edu> <778969250snz@donbooth.demon.co.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!nntp.gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!ceylon!news2.near.net!das-news.harvard.edu!casaba.srv.cs.cmu.edu!bb3.andrew.cmu.edu!andrew.cmu.edu!mg5n+ Newsgroups: alt.anonymous,alt.privacy.anon-server Organization: Sophomore, Physics, Carnegie Mellon, Pittsburgh, PA Lines: 44 NNTP-Posting-Host: po3.andrew.cmu.edu In-Reply-To: <778969250snz@donbooth.demon.co.uk>