Thanks for the response :) I've decided to just update status at each of the function calls and call it good. It pauses for a few seconds at the actual key generation but overall the effect isn't bad.
Also many thanks for providing such a robust crypto library. I am a C++ guy turned Java turned Win32 C++ and I was not looking forward to writing my own large int library and such to get this program written. Crypto++ has been very useful (if a little difficult to understand at first). Great work, and keep it up :) Jason ----- Original Message ----- From: "Wei Dai" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 24, 2002 11:23 AM Subject: Re: RSA key generation status? > No there isn't. You'll have to modify Crypto++ code if you need this > feature. The easiest way to do it would be to change RSAPrimeSelector in > rsa.cpp do notify your code when IsAcceptable() is called. > > On Thu, Oct 24, 2002 at 11:00:58AM -0500, Jason von Nieda wrote: > > Hi folks, I am new to the list so please go easy on me :) > > > > I am writing a Windows program that uses Crypto++ to generate RSA keys. I am wondering if there is any way to get the status of the key generation as it runs? I realize there isn't a definitle amount of time generating a key takes but I was looking for something basic such as an update each time a prime is tested or something along those lines. > > > > I am generating my keys using code that is basically straight out of the test.cpp program. Here is the relevant code: > > Base64Encoder privKey(new StringSink(sPrivateKey), false); > > RSAES_OAEP_SHA_Decryptor privKeyGen(randPool, dwSpecKeyLength); > > privKeyGen.DEREncode(privKey); > > privKey.MessageEnd(); > > > > Thanks in advance for any ideas you may have. > > > > Jason von Nieda