Re: Parameters for Diffie-Hellman-Merkle
From: Gregory G Rose (ggr_at_qualcomm.com)
Date: 06/09/03
- Next message: Tom St Denis: "Re: The TDCAL License"
- Previous message: Don Chiasson: "Re: Another history question was Re: Tunny and SIGABA"
- In reply to: Richard Heathfield: "Re: Parameters for Diffie-Hellman-Merkle"
- Next in thread: Paul Crowley: "Re: Parameters for Diffie-Hellman-Merkle"
- Reply: Paul Crowley: "Re: Parameters for Diffie-Hellman-Merkle"
- Reply: Michael Amling: "Re: Parameters for Diffie-Hellman-Merkle"
- Reply: Richard Heathfield: "Re: Parameters for Diffie-Hellman-Merkle"
- Reply: Mark Wooding: "Re: Parameters for Diffie-Hellman-Merkle"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 9 Jun 2003 09:01:43 -0700
(answering two messages in one, because I never
got the one in the middle from Paul...)
In article <bc1ak7$1hc$5@titan.btinternet.com>,
Richard Heathfield <binary@eton.powernet.co.uk> wrote:
>Paul Crowley wrote:
>
>> ggr@qualcomm.com (Gregory G Rose) writes:
>>
><snip>
>>
>>> There's no reason at all for Y to be large.
>>
>> How do you go about finding a small generator of the order-q subgroup?
In the case where P=2*Q+1, just try g=2, 3, 4, ...
until you find one such that g^Q == 1 mod P. It
won't take long, because it is true for about half
the elements.
In the case where you chose a 160-bit (or other
size) Q, I'm not aware of any way to come up with
a small generator, but if there is one, it would
work fine. So I wasn't actually trying to say that
it *should* be small, merely that this is one case
where size doesn't matter. As for finding one,
choose a random element "a" (may as well start with
2), and calculate g = a^((P-1)/Q) mod P. If g != 1
then it's a generator of the order Q subgroup. If
it is, try again with a different a.
>In fact, what do you actually /mean/ by "order-q subgroup"?
Well, you know what a group is, right? CAIN and
ABEL: Closure, Associative, Identity, iNverse,
and Abelian (Commutative). So, within the big
group (the Multiplicative Group modulo P), there
is a set of Q elements which also obey the group
laws, and by Fermat's Little Theorem, they can all
be expressed as g^k, k = 0..Q-1, where g is any
one of them except 1, the identity. Since there
are Q of them, this is called the order-Q
subgroup.
Greg.
-- Greg Rose INTERNET: ggr@qualcomm.com Qualcomm Australia VOICE: +61-2-9817 4188 FAX: +61-2-9817 5199 Level 3, 230 Victoria Road, http://people.qualcomm.com/ggr/ Gladesville NSW 2111 232B EC8F 44C6 C853 D68F E107 E6BF CD2F 1081 A37C
- Next message: Tom St Denis: "Re: The TDCAL License"
- Previous message: Don Chiasson: "Re: Another history question was Re: Tunny and SIGABA"
- In reply to: Richard Heathfield: "Re: Parameters for Diffie-Hellman-Merkle"
- Next in thread: Paul Crowley: "Re: Parameters for Diffie-Hellman-Merkle"
- Reply: Paul Crowley: "Re: Parameters for Diffie-Hellman-Merkle"
- Reply: Michael Amling: "Re: Parameters for Diffie-Hellman-Merkle"
- Reply: Richard Heathfield: "Re: Parameters for Diffie-Hellman-Merkle"
- Reply: Mark Wooding: "Re: Parameters for Diffie-Hellman-Merkle"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|