System.Security.Cryptography.RC2CryptoServiceProvider.CreateDecryptor Method

Creates a symmetric System.Security.Cryptography.RC2 decryptor object with the specified key (SymmetricAlgorithm.Key)and initialization vector (SymmetricAlgorithm.IV).

Syntax

public override ICryptoTransform CreateDecryptor (byte[] rgbKey, byte[] rgbIV)

Parameters

rgbKey
The secret key to use for the symmetric algorithm.
rgbIV
The initialization vector to use for the symmetric algorithm.

Returns

A symmetric System.Security.Cryptography.RC2 decryptor object.

Remarks

This method is used to decrypt an encrypted message created using the RC2CryptoServiceProvider.CreateEncryptor(Byte[], Byte[]) overload with the same parameters.

Requirements

Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0