Class CryptoUtil
Inheritance
System.Object
CryptoUtil
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.Util
Assembly: FixAntenna.Encryption.dll
Syntax
public sealed class CryptoUtil
Methods
HexFromString(String)
Declaration
public static byte[] HexFromString(string hex)
Parameters
Type | Name | Description |
---|---|---|
System.String | hex |
Returns
Type | Description |
---|---|
System.Byte[] |
IntToByteArray(Int32)
Converts integer to array of bytes.
Declaration
public static byte[] IntToByteArray(int digit)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | digit | the digit |
Returns
Type | Description |
---|---|
System.Byte[] | the array of bytes |
Padd(Byte[], Int32)
Declaration
public static byte[] Padd(byte[] data, int blockSize)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | data | |
System.Int32 | blockSize |
Returns
Type | Description |
---|---|
System.Byte[] |
Unpadd(Byte[])
Declaration
public static byte[] Unpadd(byte[] data)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | data |
Returns
Type | Description |
---|---|
System.Byte[] |