Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE formengine.io.

Class HashHelper

Inheritance

↳ object

    ↳ HashHelper

Inherited Members

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

MemberwiseClone()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public static class HashHelper

Methods

GenerateStringHash(string)

Declaration
public static string GenerateStringHash(string stringForHashing)
Parameters
TypeNameDescription
stringstringForHashing
Returns
TypeDescription
string

GenerateStringHash(string, string, HashAlgorithm)

Declaration
public static string GenerateStringHash(string stringForHashing, string salt, HashAlgorithm hashAlgorithm)
Parameters
TypeNameDescription
stringstringForHashing
stringsalt
HashAlgorithmhashAlgorithm
Returns
TypeDescription
string

GenerateBinaryHash(string, string, HashAlgorithm)

Declaration
public static byte[] GenerateBinaryHash(string stringForHashing, string salt, HashAlgorithm hashAlgorithm)
Parameters
TypeNameDescription
stringstringForHashing
stringsalt
HashAlgorithmhashAlgorithm
Returns
TypeDescription
System.Byte[]