It&#x27;s Complicated. All else equal, yes, you should use ECDH over a good curve, implemented carefully in a curve library you yourself did not write, which library has been carefully reviewed for flaws.<p>But if you don&#x27;t have access to that code on every platform you might need to deploy on, it might be better to do DH-2048 than to use crappy curve code.<p>Basically, your best choice right now is Curve25519. If you can&#x27;t get a trustworthy Curve25519, though, it might be tricky to pick between DH-2048 and {other curve software}.