如何使用Councy Castle开源库为C#使用椭圆曲线加密(ECC)加密/解密数据 [英] How to encrypt/decrypt a data using Elliptic Curve Cryptography(ECC) using the Bouncy Castle Open Source Library for C#
问题描述
我有一个字节数组数据,我必须使用C#中的椭圆曲线加密(ECC)加密/解密。我确实找到了这篇文章
Elliptic Curve Diffie Hellman Cryptography [ ^ ]
但它使用.NET类。我必须使用Bouncy Castle( https://bouncycastle.org/ [ ^ ])实现这一点,因为在我的项目中已经使用Bouncy Castle来实现RSA。
问题出在Bouncy Castle Java那里是在线帮助,但对于Bouncy Castle C#没有任何帮助。
I have a Byte Array data which I have to encrypt/Decrypt using Elliptic Curve Cryptography( ECC ) in C#. I did found this article
Elliptic Curve Diffie Hellman Cryptography[^]
but it uses .NET classes. I have to use Bouncy Castle(https://bouncycastle.org/[^]) to implement this because in my project already Bouncy Castle is used to implement RSA.
The problem is for Bouncy Castle Java there is help available online but for Bouncy Castle C# there is no help available.
推荐答案
我在不到一分钟的时间内找到了他们的源代码/ tests / examples / documentation文件。
(请参阅我的评论链接)。
你应该提高你的搜索技能:)
I found their source code/tests/examples/documentation file in less than a minute.
(See my comment for the link).
You should improve your search skills :)
这篇关于如何使用Councy Castle开源库为C#使用椭圆曲线加密(ECC)加密/解密数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!