Class HashHelper
This class creates unique strings containing hash values.
Inherited Members
Namespace: ETLBox.Helper
Assembly: ETLBox.dll
Syntax
public static class HashHelper
Methods
CreateChar40Hash(ILoggableTask)
Creates a unique hash string from a loggable task
Declaration
public static string CreateChar40Hash(ILoggableTask task)
Parameters
Type | Name | Description |
---|---|---|
ILoggableTask | task | The ETLBox loggable task |
Returns
Type | Description |
---|---|
string | A unique readable hash string with 40 character |
CreateChar40Hash(string)
Creates a 40 character unique hash string
Declaration
public static string CreateChar40Hash(string text)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text that needs to be hashed |
Returns
Type | Description |
---|---|
string | A unique readable hash string with 40 characters |
HashSum(IEnumerable<object>)
Addition of the hash values for a list of object
Declaration
public static int HashSum(IEnumerable<object> objectList)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<object> | objectList | A list of objects |
Returns
Type | Description |
---|---|
int | A unique hash value |