This documentation is archived and is not being maintained.

TripleDESCryptoServiceProvider.CreateDecryptor Method (Byte[], Byte[])

.NET Framework 1.1

Creates a symmetric TripleDES decryptor object with the specified Key and initialization vector (IV).

[Visual Basic]
Overrides Overloads Public Function CreateDecryptor( _
   ByVal rgbKey() As Byte, _
   ByVal rgbIV() As Byte _
) As ICryptoTransform
public override ICryptoTransform CreateDecryptor(
 byte[] rgbKey,
 byte[] rgbIV
public: ICryptoTransform* CreateDecryptor(
 unsigned char rgbKey __gc[],
 unsigned char rgbIV __gc[]
public override function CreateDecryptor(
   rgbKey : Byte[],
 rgbIV : Byte[]
) : ICryptoTransform;


The secret key to be used for the symmetric algorithm.
The initialization vector to be used for the symmetric algorithm.

Return Value

A symmetric TripleDES decryptor object.


This method decrypts an encrypted message created using the CreateEncryptor overload with the same parameters.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

TripleDESCryptoServiceProvider Class | TripleDESCryptoServiceProvider Members | System.Security.Cryptography Namespace | TripleDESCryptoServiceProvider.CreateDecryptor Overload List | Cryptographic Services