This documentation is archived and is not being maintained.

SymmetricAlgorithm.BlockSizeValue Field

Represents the block size of the cryptographic operation in bits.

[Visual Basic]
Protected BlockSizeValue As Integer
protected int BlockSizeValue;
protected: int BlockSizeValue;
protected var BlockSizeValue : int;


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.

This field is accessed through the BlockSize property.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

SymmetricAlgorithm Class | SymmetricAlgorithm Members | System.Security.Cryptography Namespace | Cryptographic Services