Bouncycastle - Native RSA vs RSA
The Bouncy Castle crypto library has two different ciphers that can be transferred to PKCS1Encoding
: NativeRSAEngine
and RSAEngine
. Is there a difference between the two?
Edit:
As Martin pointed out in his comment, NativeRSAEngine
not part of the Bouncy Castle library itself; it is an addition to the lightweight API of Bouncy Castle.
source to share
Yes. NativeRSAEngine
implemented using a native library and RSAEngine
written entirely in Java. As for which is faster, there is a comment on this NativeRSAEngine
Javadoc that says it is much faster using jna-gmp.
source to share