AesManaged 和 RijndaelManaged
我目前正在开发一个连接到旧 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
只要确保将 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.
我找到了这个的示例片段。引用此处与之相关的问题之一
I found a sample snippet for this one. Referencing from one of the questions related to it here