System.Security.Cryptography.TripleDESCryptoServiceProvider.CreateDecryptor Method

Creates a symmetric System.Security.Cryptography.TripleDES 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.TripleDES decryptor object.

Remarks

This method decrypts an encrypted message created using the TripleDESCryptoServiceProvider.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