SymmetricAlgorithm.BlockSize SymmetricAlgorithm.BlockSize SymmetricAlgorithm.BlockSize SymmetricAlgorithm.BlockSize Property

定义

获取或设置加密操作的块大小(以位为单位)。Gets or sets the block size, in bits, of the cryptographic operation.

public:
 virtual property int BlockSize { int get(); void set(int value); };
public virtual int BlockSize { get; set; }
member this.BlockSize : int with get, set
Public Overridable Property BlockSize As Integer

属性值

块大小(以位为单位)。The block size, in bits.

异常

注解

块大小是可以加密或解密在一个操作中的数据的基本单位。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.

适用于

另请参阅