TwofishManaged.CreateEncryptor Method
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9119)
CreateEncryptor(Byte[], Byte[])
Creates a Twofish encryptor object with the specified key.
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 initialization vector for CBC. |
Returns
Type | Description |
---|---|
ICryptoTransform | A Twofish encryptor object. |