DES: CreateDecryptor

CreateDecryptor

Creates a new decryptor using the Data Encryption Standard algorithm.



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

Parameters

RgbKey
[ByRef] Optional. Variant. The secret key to be used to decrypt the ciphered text back into plain text.
RgbIV
[ByRef] Optional. Variant. The Initialization Vector to begin the feedback with.

Return Values

ICryptoTransform -  A new ICryptoTransform used to decrypt ciphered text.

Remarks

Though both parameters are optional, if only one parameter is supplied, an exception will be thrown.

See Also

Project CorLib Overview

Class DES Overview