Aes.LegalBlockSizes 属性

定义

获取对称算法支持的块大小(以位为单位)。

public:
 virtual property cli::array <System::Security::Cryptography::KeySizes ^> ^ LegalBlockSizes { cli::array <System::Security::Cryptography::KeySizes ^> ^ get(); };
public override System.Security.Cryptography.KeySizes[] LegalBlockSizes { get; }
member this.LegalBlockSizes : System.Security.Cryptography.KeySizes[]
Public Overrides ReadOnly Property LegalBlockSizes As KeySizes()

属性值

一个数组,包含此算法支持的块大小。

注解

对于 AES,唯一的合法块大小为 128 位。

适用于