The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
RC2CryptoServiceProvider::CreateEncryptor Method (array<Byte>^, array<Byte>^)
.NET Framework (current version)
Creates a symmetric RC2 encryptor object with the specified key (Key) and initialization vector (IV).
Assembly: mscorlib (in mscorlib.dll)
public: virtual ICryptoTransform^ CreateEncryptor( array<unsigned char>^ rgbKey, array<unsigned char>^ rgbIV ) override
Parameters
- rgbKey
-
Type:
array<System::Byte>^
The secret key to use for the symmetric algorithm.
- rgbIV
-
Type:
array<System::Byte>^
The initialization vector to use for the symmetric algorithm.
| Exception | Condition |
|---|---|
| CryptographicException |
Use the CreateDecryptor overload with the same parameters to decrypt the result of this method.
.NET Framework
Available since 1.1
Available since 1.1
Show: