CreateEncryptor
Creates a new encryptor using the RC2 algorithm.
Public Function CreateEncryptor(
Optional ByRef RgbKey As Variant,
Optional ByRef RgbIV As Variant ) As ICryptoTransform
Parameters
- RgbKey
-
[ByRef]
Optional.
Variant.
The secret key to be used to encrypt the plain text into ciphered text.
- RgbIV
-
[ByRef]
Optional.
Variant.
The Initialization Vector to begin the feedback with.
Return Values
ICryptoTransform - A new ICryptoTransform used to encrypt plain text.
Remarks
Though both parameters are optional, if only one parameter is supplied, an exception will be thrown.
See Also
Project CorLib Overview
Class RC2 Overview