Class DesRawEncryptor
Inheritance
System.Object
DesRawEncryptor
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FixAntenna.FixEngine.Encryption.Encryptor.Raw
Assembly: FixAntenna.Encryption.dll
Syntax
public class DesRawEncryptor : IRawEncryptor
Constructors
DesRawEncryptor()
Declaration
public DesRawEncryptor()
Fields
Log
Declaration
protected ILog Log
Field Value
Type | Description |
---|---|
ILog |
Methods
Decrypt(Byte[])
Decrypts the value.
Declaration
public virtual byte[] Decrypt(byte[] value)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | value | the value |
Returns
Type | Description |
---|---|
System.Byte[] |
Encrypt(Byte[])
Encrypts the value.
Declaration
public virtual byte[] Encrypt(byte[] value)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | value | the value |
Returns
Type | Description |
---|---|
System.Byte[] |
SetIv(Byte[])
Sets initial vector.
Declaration
public virtual void SetIv(byte[] desIv)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | desIv | the initial vector. |
Exceptions
Type | Condition |
---|---|
InitEncryptionException |
SetKey(Byte[])
Sets the key.
Declaration
public virtual void SetKey(byte[] desKey)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | desKey |
Exceptions
Type | Condition |
---|---|
InitEncryptionException |