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

Reply via email to