Class KeyUtil
Inheritance
System.Object
KeyUtil
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: Catalyst.Core.Lib.Util
Assembly: Catalyst.Core.Lib.dll
Syntax
public static class KeyUtil
Methods
| Improve this Doc View SourceKeyToBytes(String)
Declaration
public static byte[] KeyToBytes(this string keyAsString)
Parameters
Type | Name | Description |
---|---|---|
System.String | keyAsString |
Returns
Type | Description |
---|---|
System.Byte[] |
KeyToByteString(String)
Declaration
public static ByteString KeyToByteString(this string keyAsString)
Parameters
Type | Name | Description |
---|---|---|
System.String | keyAsString |
Returns
Type | Description |
---|---|
ByteString |
KeyToString(ByteString)
Declaration
public static string KeyToString(this ByteString keyAsString)
Parameters
Type | Name | Description |
---|---|---|
ByteString | keyAsString |
Returns
Type | Description |
---|---|
System.String |
KeyToString(Byte[])
Declaration
public static string KeyToString(this byte[] keyAsBytes)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | keyAsBytes |
Returns
Type | Description |
---|---|
System.String |