System.Security.Cryptography.SymmetricAlgorithm.CreateDecryptor Method

Creates a symmetric decryptor object with the current SymmetricAlgorithm.Key property and initialization vector (SymmetricAlgorithm.IV).

Syntax

public virtual ICryptoTransform CreateDecryptor ()

Returns

A symmetric decryptor object.

Remarks

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

Requirements

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