[Mono-dev] RSA and ECDH
Edward Ned Harvey (mono)
edward.harvey.mono at clevertrove.com
Sun Feb 16 15:34:51 UTC 2014
I benchmarked RSA key generation, .Net versus Mono, and also RSA vs ECDiffieHellman.
A couple of things - For RSA keys, Mono was way slower. Like way crazy, super way slower. See results below, but something like 40x slower.
Second, ECDiffieHellman is way faster than RSA, by approx 100x. But it seems, ECDiffieHellman is not available in mono.
I haven't looked to explicitly confirm, but I believe SslStream must use RSA internally. This would make mono very undesirable for serving any kind of SSL communications channels.
So my two questions are: Does anyone know why there is no ECDH in mono? Maybe just nobody found a compatible open source implementation to use? And does anyone know why RSA is so slow? Maybe it's just a slow implementation, and it also suffers because a better and compatible open source implementation hasn't been identified?
I'll post more details in another email momentarily.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list