AesCryptoServiceProvider.LegalBlockSizes Propriedade

Definição

Obtém os tamanhos de bloco, em bits, que tem suporte com o algoritmo simétrico.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()

Valor da propriedade

KeySizes[]

Uma matriz que contém os tamanhos de bloco com suporte pelo algoritmo.An array that contains the block sizes supported by the algorithm.

Comentários

Para o AES, o único tamanho de bloco legal é de 128 bits.For AES, the only legal block size is 128 bits.

Aplica-se a