AesManaged.Mode 属性

定义

获取或设置对称算法的运算模式。

public:
 virtual property System::Security::Cryptography::CipherMode Mode { System::Security::Cryptography::CipherMode get(); void set(System::Security::Cryptography::CipherMode value); };
public override System.Security.Cryptography.CipherMode Mode { get; set; }
member this.Mode : System.Security.Cryptography.CipherMode with get, set
Public Overrides Property Mode As CipherMode

属性值

枚举值之一,指定用于加密的分组加密模式。 默认值为 CBC

例外

Mode 设置为 CFBOFB

注解

CFB不支持 和 OFB 模式。

适用于