RC2: IV (get)

IV

Returns the Initialization Vector used by the cryptographic operation.



 Public Property Get IV ( ) As Byte ( ) :

Return Values

Byte() -  Returns an array of bytes representing an 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.

Read/Write.

See Also

Project CorLib Overview

Class RC2 Overview