RC2: IV (let)

IV

Sets the Initialization Vector used by the cryptographic operation.



 Public Property Let IV(
	  ByRef Value ( ) As Byte ) :

Parameters

Value
[ByRef] Byte. The new Initialization Vector.

Remarks

If several blocks of same plain text are encrypted, the ciphered data could all be the same aswell. Using an Initialization Vector can prevent same plain text blocks to reproduce the same ciphered blocks.

This can be generated using the GenerateIV method, or a new one will be generated if one hasnt been set when this property is accessed.

This must be set to an array the same size as the block size.

Read/Write.

See Also

Project CorLib Overview

Class RC2 Overview