ArcFourManaged.CreateEncryptor Method
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9119)
CreateEncryptor(Byte[], Byte[])
Creates a symmetric ArcFour encryptor object with the specified Key and initialization vector (IV).
Declaration
public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[] rgbIV)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | rgbKey | The secret key to be used for the symmetric algorithm. |
Byte[] | rgbIV | The IV. Not used by ArcFour. |
Returns
Type | Description |
---|---|
ICryptoTransform | A symmetric ArcFour encryptor object. |