SymmetricAlgorithm::CreateDecryptor Method (array<Byte>^, array<Byte>^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

When overridden in a derived class, creates a symmetric decryptor object with the specified Key property and initialization vector (IV).

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

public:
virtual ICryptoTransform^ CreateDecryptor(
	array<unsigned char>^ rgbKey,
	array<unsigned char>^ rgbIV
) abstract

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.

Return Value

Type: System.Security.Cryptography::ICryptoTransform^

A symmetric decryptor object.

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

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: