TripleDESCryptoServiceProvider: CreateDecryptor

CreateDecryptor

Returns a new cipher used to decrypt data.



 Public Function CreateDecryptor(
	  Optional ByRef RgbKey As Variant,
	  Optional ByRef RgbIV As Variant ) As ICryptoTransform

Parameters

RgbKey
[ByRef] Optional. Variant. A supplied byte array used as the secret key.
RgbIV
[ByRef] Optional. Variant. A supplied byte array used for the Initialization Vector (IV).

Return Values

ICryptoTransform -  An ICryptoTransform object used to dencrypt data.

Remarks

The RgbKey and RgbIV parameters must be either supplied or missing. A single parameter will throw an exception.

If no parameters are supplied then the key and IV will be retrieved through the Key and IV properties.

See Also

Project CorLib Overview

Class TripleDESCryptoServiceProvider Overview