RSA is a fragile cryptosystem
Curve25519 and Curve448 should be strongly favored if you decided to start using ECC. Not unlike RSA, elliptic-curve cryptography has a lot of of edge cases, math pitfalls, and side-channel traps.<p>* Your implementation produces incorrect results for some rare curve points.<p>* Your implementation leaks secret data when the input isn&#x27;t a curve point.<p>* Your implementation leaks secret data through branch timing.<p>* Your implementation leaks secret data through cache timing.<p>Curve25519 and Curve448 are designed with secure implementation in mind, naturally, they trends to have more immunity to pitfalls. There is no invalid curve attack in Curve25519, every random integer is a valid public key, secret-dependent branching can be avoided easily, etc.<p><a href="https:&#x2F;&#x2F;safecurves.cr.yp.to&#x2F;" rel="nofollow">https:&#x2F;&#x2F;safecurves.cr.yp.to&#x2F;</a>