.NET支持AES OFB [英] Does .NET support of AES OFB
问题描述
我试图使用AesCryptoServiceProvider,但是当我将模式设置为CipherMode.OFB时,我得到了例外:指定的算法无效
AesManaged不允许反馈模式(基于MSDN文档)
基本对称算法类仅支持CBC& CFB。
这可以被覆盖,但在AesCryptoServiceProvider类中没有这样做。也许第三方图书馆可能会实施这些密码模式。
*澄清:[我在看着.net v3.5]
Does .NET has a class that supports AES OFB encryption?
I've tried to use AesCryptoServiceProvider but when I set the Mode to CipherMode.OFB I got an exception: Invalid algorithm specified
AesManaged doesn't allow feedback modes (based on the MSDN documentation)
The base SymmetricAlgorithm class only supports CipherModes of CBC & CFB.
This can be overridden, but is not done so in the AesCryptoServiceProvider class. Perhaps a 3rd party library may implement these Cipher Modes.
*Clarification: [I was looking at .Net v3.5]
这篇关于.NET支持AES OFB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!