TripleDESCryptoServiceProvider: IV (let)

IV

Sets the initialization vector to be used.



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

Parameters

Value
[ByRef] Byte. An 8-byte array representing the initialization vector.

Remarks

If several blocks of same plain text are encrypted, the ciphered data could all be the same as well. 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.

The Value parameter must be 8 bytes in length.

Read/Write.

See Also

Project CorLib Overview

Class TripleDESCryptoServiceProvider Overview