I have looked that the performance of RSA encryption in .Net is kinda slow. Other native (Win32) apps perform encryption a lot faster. I looked at mscorlib.dll (using Red Gates .Net Reflector) at the System.Security.Cryptography namespace and found that
all the calculations (and even key generations) are done with managed code.
I thought it would be faster with unmanaged code, but I can't find libraries that do so.
My question: My app kinda needs performance with RSA encryption, should I:
use System.Security.Cryptography classes and deal with the fact, that lots of math operations are done, (managed code isn't really optimized)
- link to a Win32 library that encrypts RSA
View Complete Post