Creates a RC2 encryptor object with the specified key.
Namespace:
Rebex.Security.Cryptography
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
Visual Basic |
---|
Public Overrides Function CreateEncryptor ( _ rgbKey As Byte(), _ rgbIV As Byte() _ ) As ICryptoTransform |
C# |
---|
public override ICryptoTransform CreateEncryptor( byte[] rgbKey, byte[] rgbIV ) |
Parameters
- rgbKey
- Type: array<System..::..Byte>[]()[][]
The secret key to be used for the symmetric algorithm.
- rgbIV
- Type: array<System..::..Byte>[]()[][]
The initialization vector for CBC.