Creates a symmetric RC4 encryptor object with the specified Key.
Namespace: LLCryptoLib.Security.CryptographyAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public override ICryptoTransform CreateEncryptor( byte[] rgbKey, byte[] rgbIV ) |
Visual Basic |
---|
Public Overrides Function CreateEncryptor ( _ rgbKey As Byte(), _ rgbIV As Byte() _ ) As ICryptoTransform |
Visual C++ |
---|
public: virtual ICryptoTransform^ CreateEncryptor( array<unsigned char>^ rgbKey, array<unsigned char>^ rgbIV ) override |
Parameters
- rgbKey
- Type: array<System..::..Byte>[]()[][]
The secret key to be used for the symmetric algorithm.
- rgbIV
- Type: array<System..::..Byte>[]()[][]
This parameter is not used an should be set to a null reference, or to an array with zero or one bytes.
Return Value
A symmetric ARCFour encryptor object.
Remarks
Use the CreateDecryptor(array<Byte>[]()[][], array<Byte>[]()[][]) overload with the same signature to decrypt the result of this method.