AesCryptoServiceProvider.CreateDecryptor Method ()


Creates a symmetric AES decryptor object using the current key and initialization vector (IV).

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

Public Overrides Function CreateDecryptor As ICryptoTransform

Return Value

Type: System.Security.Cryptography.ICryptoTransform

A symmetric AES decryptor object.

Exception Condition

The current key is invalid or missing.

.NET Framework
Available since 3.5
Return to top