TripleDESCryptoServiceProvider: IV (get)


Returns the Initialization Vector.

 Public Property Get IV ( ) As Byte ( )

Return Values

Byte() -  The Initialization Vector.


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.

If no IV has been set, then a new random IV will be generated.


See Also

Project VBCorLib Overview Class TripleDESCryptoServiceProvider Overview TripleDESCryptoServiceProvider Properties TripleDESCryptoServiceProvider Methods IObject IV (let)