Qt-Secret
Qt-Secret copied to clipboard
Adding RSA benchmarking
I run both following RSA algorithms on a Intel(R) Core(TM) i9-7920X CPU @ 2.90GHz
- https://github.com/QuasarApp/Qt-Secret#encryption-and-decryption-of-messages
- https://github.com/QuasarApp/Qt-Secret#signature-and-verification-of-the-message-signature
Here are my benchmarking (I would have appreciated to find some on the GitHub so I participate):
RSA in seconds
| key size | 2048 | 3072 | 4096 | 6144 | 8192 |
|---|---|---|---|---|---|
| genPairKey (random process) | 2.119 | 6.974 | 44.000 | 31.384 | 243.044 |
| encode | 0.062 | 0.170 | 0.437 | 1.489 | 3.470 |
| decode | 0.096 | 0.286 | 0.745 | 2.449 | 5.651 |
| sign | 1.668 | 5.503 | 13.226 | 44.422 | 104.119 |
| checkSign | 2.906 | 10.014 | 23.420 | 75.711 | 262.077 |
Thanks you. may be you can create a pull request with your bench tool ?
I haven't any bench tool I just used: qDebug() << QTime::currentTime().toString("hh:mm:ss,zzz") << " ID 0";
In the README algorithms sorry about that ^^'
So just create a subproject of the main project that will be use this code. Else cannot to add your benchmark test results without benchmark tool.
How big was the data you encoded?
How big was the data you encoded?
@pH-Valiu
The data was test message. You can find the whole code here.
Unfortunately. But I drop support of this library. See my new library for works with RSA and ECDSA. easyssl