So, to be Devil's Advocate, does libsodium also provide an RSA implementation?
Re:RSA is a fragile cryptosystem
by tabletopneedle on Monday July 08, 2019 @01:42PM
(#20384915)
There is no place to use RSA instead of Diffie-Hellman. DH provides forward secrecy, and the ECC variants are much faster and use shorter keys for equivalent security. They are harder to implement in a wrong way.
No. Why would it?
Re:RSA is a fragile cryptosystem
by cryptonector on Tuesday July 09, 2019 @12:33AM
(#20389050)
If you only use RSA to sign and not encrypt, then you lose the padding oracle attach and you're left with... a ton of other issues still. But the Bleichenbacher family of attacks is really devastating, so I'd tolerate some RSA digital signature usage. But please, stop using RSA key transport!!
Furthermore, they don't just tell you to use some random curve thing: they tell you to use a specific implementation with knobs twiddled for security. You could work hard to maybe get everything right, or you can just do this thing and everything will be set for safety for you.