Hasher..::..ComputeHash Method

Computes the hash of the string using a specified hash algorithm

Namespace:  Core
Assembly:  Core (in Core.dll)

Syntax


public static string ComputeHash(
	string input,
	HashType hashType
)

Parameters

input
Type: String
The string to hash
hashType
Type: Core..::..HashType
The hash algorithm to use

Return Value

The resulting hash or an empty string on error