RSA key generation, encryption and decryption
-
wrote on 6 Jul 2016, 14:33 last edited by
What would be the fast and most efficient way to incorporate RSA key generation, encryption and decryption functionality in my Qt application?
I have a server in Nodejs where the RSA management is trivial; on the client side (Qt) I'm still looking around for a good solution.
I spent about an hour trying to understand what good can come out of Qca, but those guys seem to enjoy making your life difficult.
Openssl seems to be overkill, Cripto++ is quite vast, too.
I just need a bunch of RSA algorythms. Any suggestion? -
wrote on 6 Jul 2016, 14:51 last edited by
Openssl is already used by Qt so so I would just use that as you probably have to deploy it anyway
-
Openssl is already used by Qt so so I would just use that as you probably have to deploy it anyway
-
wrote on 6 Jul 2016, 15:42 last edited by
This is going to sound ridiculous, but using pure javascript libraries via QML seems to be a much easier solution.
-
I meant that since yo probably have to deploy openssl libraries anyway you might as well use OpenSSL directly.
can this help?wrote on 6 Jul 2016, 15:49 last edited by@VRonin Yes, I've seen that example. It's useful, anyway I'd ship about 4 megabytes of libraries just for the RSA algorithms. Also, I'm planning to deploy on Android so I'd have to find out an OpenSSL build for arm. Sounds like an overly complicated way to use RSA.
6/6