RijndaelManaged: 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.