GenerateIV Method
Collapse the table of content
Expand the table of content

RC2CryptoServiceProvider.GenerateIV Method ()

 

Generates a random initialization vector (IV) to use for the algorithm.

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

override GenerateIV : unit -> unit

Use this method to generate a random IV when none is specified.

The following code example encrypts and then decrypts a string.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft