Interface IRawEncryptor
Namespace: FixAntenna.FixEngine.Encryption.Encryptor
Assembly: FixAntenna.Encryption.dll
Syntax
public interface IRawEncryptor
Methods
Decrypt(Byte[])
Decrypts the value.
Declaration
byte[] Decrypt(byte[] value)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | value | the value |
Returns
Type | Description |
---|---|
System.Byte[] |
Encrypt(Byte[])
Encrypts the value.
Declaration
byte[] Encrypt(byte[] value)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | value | the value |
Returns
Type | Description |
---|---|
System.Byte[] |
SetIv(Byte[])
Sets initial vector.
Declaration
void SetIv(byte[] desIv)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | desIv | the initial vector. |
Exceptions
Type | Condition |
---|---|
InitEncryptionException |
SetKey(Byte[])
Sets the key.
Declaration
void SetKey(byte[] key)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | key | the key. |
Exceptions
Type | Condition |
---|---|
InitEncryptionException |