AesCryptoServiceProvider.BlockSize Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the block size, in bits, of the cryptographic operation.
public:
virtual property int BlockSize { int get(); void set(int value); };
public override int BlockSize { get; set; }
member this.BlockSize : int with get, set
Public Overrides Property BlockSize As Integer
Property Value
The block size, in bits.
Exceptions
The block size is invalid.
Remarks
The block size is the basic unit of data that can be encrypted or decrypted in one operation. Messages longer than the block size are handled as successive blocks; messages shorter than the block size must be padded with extra bits to reach the size of a block. Valid block sizes are determined by the symmetric algorithm used.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor