TripleDESCryptoServiceProvider.LegalBlockSizes 属性
定义
获取对称算法支持的块大小(以位为单位)。Gets the block sizes, in bits, that are supported by the symmetric algorithm.
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()
属性值
- KeySizes[]
一个数组,包含此算法支持的块大小。An array that contains the block sizes supported by the algorithm.
注解
对于 TripleDES,唯一的合法块大小为64位。For TripleDES, the only legal block size is 64 bits.