wk at gnupg
Oct 5, 2006, 2:11 AM
Post #4 of 6
On Thu, 5 Oct 2006 04:52, jitspoe said:
Re: RSA Key Gen: Fast in Test App, Slow in Real App.
[In reply to]
> All I'm doing is generating a 128bit RSA key pair. I can post the source
> code if you're interested. Once the first RSA key has been generated,
> generating another is almost instant, so I'm guessing it's initializing some
> kind of prime table. I haven't delved into the gcrypt code to find out.
That is because the entropy pool of the RNG has been filled and the
second key utilizes the left over entropy. Make sure to properly
setup the RNG.
BTW, a 128 bit RSA key is pretty useless except for learning how to
Gcrypt-devel mailing list
Gcrypt-devel [at] gnupg