[This is preliminary documentation and subject to change.]
Creates a symmetric encryptor object with the specified Key.
A symmetric encryptor object.
Use the CreateDecryptor overload with the same parameters to decrypt the result of this method.
Exception Type | Condition |
---|---|
ObjectDisposedException | The object is disposed. |
ArgumentNullException | rgbKey is a null reference (Nothing in Visual Basic). |
CryptographicException |
RC4CryptoServiceProvider Class | Org.Mentalis.SecurityServices.Cryptography Namespace | RC4CryptoServiceProvider.CreateEncryptor Overload List