# Request for 1024-bit primes $p$ , subgroup $q$ and subgroup generator $g$

I need to find a prime $p$ of $1024$ bits with a $160$ bit sub group size $q$, such that $q|p-1$ , and $g$ is the generator of the sub group size $q$.

I'm looking for the numeric values of $p$ , $q$ and $g$.

-
What do you want to use those for? The requirements for those differ subtly with use. For example ElGamal signatures need a large generator. For most uses I'd just look up a set of group parameters in a DSA or DH standard. –  CodesInChaos Feb 8 '13 at 15:35
To continue @CodesInChaos's comment, for DSA, you need q to be exactly a specified size (for example, precisely 160 bits). What do you need this for? –  poncho Feb 8 '13 at 15:40
Hi , thanks to all of you . Im looking for those value for my project. q need to be 160 bit. i was looking in the rfc 2412. but i could not find the q that will produce me a subgroup is size of 160. –  USer22999299 Feb 9 '13 at 9:36

Suitable values are $q=2^{159}+9593, p=2^{1023-159}*q+1, g=2^{2^{1023-159}}\mod p$