> Isn't it a bit too short? Mileage varies, but it looks a bit long for a modern processor.
Below is from a Core 2 Duo 2.1 GHz T6500 with lots of RAM. > windows system with C++Builder 2010 Sorry - on a linux system at the moment. The EXE was built with - DNDEBUG and then strip'd. Jeff ~/cryptopp$ ./rsa_kgen.exe 8192 Elapsed time for 8192 RSA key: 15.50 seconds ~/cryptopp$ ./rsa_kgen.exe 8192 Elapsed time for 8192 RSA key: 17.67 seconds ~/cryptopp$ ./rsa_kgen.exe 8192 Elapsed time for 8192 RSA key: 26.48 seconds ~/cryptopp$ ./rsa_kgen.exe 8192 Elapsed time for 8192 RSA key: 17.35 seconds ~/cryptopp$ ./rsa_kgen.exe 8192 Elapsed time for 8192 RSA key: 1.93 seconds ~/cryptopp$ ./rsa_kgen.exe 8192 Elapsed time for 8192 RSA key: 27.00 seconds ~/cryptopp$ ./rsa_kgen.exe 8192 Elapsed time for 8192 RSA key: 32.93 seconds ~/cryptopp$ ./rsa_kgen.exe 8192 Elapsed time for 8192 RSA key: 21.74 seconds ~/cryptopp$ ./rsa_kgen.exe 15360 Elapsed time for 15360 RSA key: 4 minutes, 11.17 seconds ~/cryptopp$ ./rsa_kgen.exe 15360 Elapsed time for 15360 RSA key: 3 minutes, 59.56 seconds ~/cryptopp$ ./rsa_kgen.exe 15360 Elapsed time for 15360 RSA key: 1 minute, 13.67 seconds ~/cryptopp$ ./rsa_kgen.exe 15360 Elapsed time for 15360 RSA key: 2 minutes, 9.23 seconds ~/cryptopp$ ./rsa_kgen.exe 15360 Elapsed time for 15360 RSA key: 1 minute, 34.89 seconds ~/cryptopp$ ./rsa_kgen.exe 15360 Elapsed time for 15360 RSA key: 1 minute, 51.34 seconds ~/cryptopp$ ./rsa_kgen.exe 15360 Elapsed time for 15360 RSA key: 6 minutes, 52.55 seconds ~/cryptopp$ ./rsa_kgen.exe 15360 Elapsed time for 15360 RSA key: 4 minutes, 34.83 seconds On Aug 15, 9:45 am, John <[email protected]> wrote: > Hello, > > I'm new to Crypto++ and wanted to test RSA encryption. I compiled the > "cryptest" application on a windows system with C++Builder 2010 and > created an 8192-bit length key (only for test purposes - I will not > use it). On a Quad Core CPU it took me just 5 mins. Isn't it a bit too > short? I thought it will compute for several hours. Is the key weaker > than an equivalent one created for example with gnupg? (i know, that > gnupg can't create rsa keys larger than 4096) -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com.
