AesManaged 和 RijndaelManaged

发布于 2024-09-02 02:18:45 字数 220 浏览 6 评论 0原文

我目前正在开发一个连接到旧 Web 服务的 Silverlight 应用程序。 我们的旧 Web 服务使用 silverlight 不支持的加密工具。 最后,我们决定使用 AesManaged 进行加密,但是,我们的网络服务不支持 AesManaged。他们是否可以将 AesManaged 解密为 RijndaelManaged?

如果是,您能发布一个示例片段吗?非常需要您的反馈。

谢谢。

Im currently developing a Silverlight application that connects to an old webservice.
Our old webservice uses an encryption tool which silverlight does not support.
Finally, we decided to used AesManaged for encryption, however, our webservice does not support AesManaged. Is their a way to decrypt an AesManaged to RijndaelManaged?

If yes, can you please post a sample snippet? Your feedback is highly needed.

Thank you.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

伪心 2024-09-09 02:18:45

只要确保将 RijndaelManaged 的​​块大小设置为 128 位,AesManaged 和 RijndaelManaged 的​​行为就会相同。

AES 只是块大小为 128 的 Rijndael 加密算法的另一个名称。

As long as you make sure to set the blocksize of RijndaelManaged to 128 bits, AesManaged and RijndaelManaged will behave identically.

AES is just another name for the Rijndael encryption algorithm with blocksize 128.

夜光 2024-09-09 02:18:45

我找到了这个的示例片段。引用此处与之相关的问题之一

I found a sample snippet for this one. Referencing from one of the questions related to it here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文