Class HashHelper

This class creates unique strings containing hash values.

Inheritance
HashHelper
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
TypeNameDescription
ILoggableTasktask

The ETLBox loggable task

Returns
TypeDescription
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
TypeNameDescription
stringtext

Text that needs to be hashed

Returns
TypeDescription
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
TypeNameDescription
IEnumerable<object>objectList

A list of objects

Returns
TypeDescription
int

A unique hash value