1993-10-09 - Re: Diffie-Helman example in g++

Header Data

From: mgream@acacia.itd.uts.edu.au (Matthew Gream)
To: cypherpunks@toad.com
Message Hash: b468118495f3ea06740b1fe4cabbb77ee86809f9110ecf5ec83fa93850385cae
Message ID: <9310090216.AA20577@acacia.itd.uts.EDU.AU>
Reply To: <9310081951.AA12236@illuminati.IO.COM>
UTC Datetime: 1993-10-09 02:15:48 UTC
Raw Date: Fri, 8 Oct 93 19:15:48 PDT

Raw message

From: mgream@acacia.itd.uts.edu.au (Matthew Gream)
Date: Fri, 8 Oct 93 19:15:48 PDT
To: cypherpunks@toad.com
Subject: Re: Diffie-Helman example in g++
In-Reply-To: <9310081951.AA12236@illuminati.IO.COM>
Message-ID: <9310090216.AA20577@acacia.itd.uts.EDU.AU>
MIME-Version: 1.0
Content-Type: text/plain



Earlier, Douglas Barnes wrote:

> // Demo of mathematics for Diffie-Hellman type key exchange
[..]
> // Does anyone have a clue what good values of 'a' are in this
> // algorithm?
> 
> a = 127;

The only restriction placed on /a/ is that it be a primitive root of
/p/. To do this, you choose /a/ at random until you find the condition
(/a/, /p/-1) == 1 is satisfied. Since there are lots of primitive roots,
this shouldn't take long. I wonder though, are there any strengths in
choosing higher values of /a/?

Feel free to correct me if I'm wrong, my engineering background means
my number theory isn't as strong as it could be (but I'm working on it
:-).

Matthew.
-- 
Matthew Gream, M.Gream@uts.edu.au. "... encryption is the ultimate means of
Consent Technologies, 02-821-2043.  protection against an Orwellian state."





Thread