Creates a symmetric decryptor object with the specified Key.
[Visual Basic]
Overrides Overloads Public Function CreateDecryptor( _
ByVal rgbKey As Byte(), _
ByVal rgbIV As Byte() _
) As ICryptoTransform
A symmetric decryptor object.
This method decrypts an encrypted message created using the CreateEncryptor overload with the same parameters.
Exception Type | Condition |
---|---|
ObjectDisposedException | The object is disposed. |
ArgumentNullException | rgbKey is a null reference (Nothing in Visual Basic). |
CryptographicException |
RC4CryptoServiceProvider Class | RC4CryptoServiceProvider Members | Org.Mentalis.Security.Cryptography Namespace | RC4CryptoServiceProvider.CreateDecryptor Overload List