| RC2CryptoServiceProvider: CreateEncryptor |
Returns a new cipher used to encrypt data.
Public Function CreateEncryptor( Optional ByRef RgbKey As Variant, Optional ByRef RgbIV As Variant ) As ICryptoTransform
Both 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.
Project VBCorLib Overview Class RC2CryptoServiceProvider Overview RC2CryptoServiceProvider Properties RC2CryptoServiceProvider Methods CreateDecryptor EffectiveKeySize (get)