Hiho,

I'm doing this Computer Security project with ElGamal encryption.

Thing is I need to produce a generator for my prime to be able to continue with encoding, and to produce one I need prime factors of my (prime number - 1) ( which can be up to 32 bits long ).

Anyone who can help me on this ?

Any help would be appreciated!

Thanks in advance !