SecurityServices for .NET 2.0 Documentation

RC4.IV Property

[This is preliminary documentation and subject to change.]

Gets or sets the initialization vector (IV) for the symmetric algorithm.


Property Value

This property always returns a byte array of length one. The value of the byte in the array is always set to zero.


RC4 doesn't use the IV property, however the property accepts IV's of up to one byte (RC4's BlockSize) in order to interoperate with software that has been written with the use of block ciphers in mind.


Exception Type Condition
CryptographicException An attempt is made to set the IV to an invalid instance.

See Also

RC4 Class | Org.Mentalis.SecurityServices.Cryptography Namespace