Java中的椭圆曲线密码算法

Rid*_*pta 6 java cryptography elliptic-curve

我们是密码学的几个业余爱好者。我们必须在 Java 中实现与椭圆曲线加密相关的不同算法。到目前为止,我们已经能够找出像一些关键算法ECDHECIESECDSAECMQV从椭圆曲线密码体制的维基百科页面。

Now, we are at a loss in trying to understand how and where to start implementing these algorithms. Also, does Java already provide these algorithms in its architecture? Or do we have to use some API like BouncyCastle (we're seeing it all over this site!)? Or can we simply implement the algorithms on our own using standard code? Any help would be much appreciated!

Maa*_*wes 6

是的,您始终可以依靠 Bouncy Castle 库来实现最需要的算法,当然包括椭圆曲线加密。无需实现自己的;如果您发现任何问题,请尝试修复 Bouncy。

Oracle 的 OpenJDK 7 和 Java 7 SE也实现了椭圆曲线加密,早期版本只包含一个全面的椭圆曲线加密 API,但您需要一个 JCE 提供者(如Bouncy Castle)来提供实际实现。