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: ae7446c327bb4731eab6e557adf91ea272263779e307aea6abc2ad344327c891
Message ID: <9310090414.AA22491@acacia.itd.uts.EDU.AU>
Reply To: <9310090340.AA16954@illuminati.IO.COM>
UTC Datetime: 1993-10-09 04:15:50 UTC
Raw Date: Fri, 8 Oct 93 21:15:50 PDT

Raw message

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


Earlier, Douglas Barnes wrote:

> a is a constant, known to all (especially to both A and B).

Yes, that is true, but it still must be a primitive root w.r.t p. 
Unfortunately I am not well versed enough to explain the mathematical
reasoning behind this, but in the texts I have read, they all stated
this fact.

In an implementation of D-H I did for a project once, I ensured that
these conditions were met. Some probablistic analysis showed that approx
37-38% of numbers < p are primitive roots (done by sampling primes and
testing all n < p to see if n was primitive root), so finding a primitive
root was trivial.

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