.Net 中 Bouncy Castle AES 256 加密的文档?
我正在尝试在 .Net 项目中实现 Bouncy Castle 加密库,但没有找到大量与 .Net 相关的文档。类/方法结构甚至与大量 Java 相关示例相差甚远。
有人有一些好的 .Net 例子吗?
谢谢。
I'm trying to implement the Bouncy Castle encryption library in a .Net project, but am not finding a lot of .Net-related documentation. The class/method structure isn't even close to the ample Java-related examples.
Does anyone have some good .Net examples for this?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
对我来说,C# 类看起来与 Java 类几乎相同。一个区别是 C# 中的接口遵循 .NET 约定并以字母“I”开头。例如,
IBlockCipher
是 JavaBlockCipher
的 C# 模拟,而ICipherParameters
对应于 JavaCipherParameters
。我希望 Java 示例能够几乎完美地转换为 C# 示例。是否有某个特定的 Java 示例在转换为 C# 时遇到困难?The C# classes looks almost identical to the Java classes to me. One difference is that interfaces in C# follow the .NET convention and begin with the letter 'I'. For example,
IBlockCipher
is the C# analog to the JavaBlockCipher
, andICipherParameters
corresponds to JavaCipherParameters
. I would expect the Java examples to translate almost perfectly into C# examples. Is there a particular java example that you are having trouble translating to C#?