SymmetricAlgorithm: BlockSize (let)

BlockSize

Sets the block size, in bits, used by the cryptographic operation.



 Public Property Let BlockSize(
	  ByVal RHS As Long ) :

Parameters

RHS
[ByVal] Long. The block size in bits.

Remarks

A block size is the basic unit size of data that can be encrypted or decrypted in a single operation. Data that is larger than a block size are processed by splitting the data into multiple blocks the same size as the block size then operating of the multiple blocks.

An invalid block size will cause a CryptographicException.

A list of legal block sizes can be obtained through the LegalBlockSizes property.

Read/Write.

See Also

Project VBCorLib Overview Class SymmetricAlgorithm Overview SymmetricAlgorithm Properties SymmetricAlgorithm Methods BlockSize (get) CipherMode