Click or drag to resize

ExtensionsCryptographyGetHash Method (String, HashAlgorithms)

Get the hash representing the string

Namespace:  Cauldron
Assembly:  Cauldron.Cryptography (in Cauldron.Cryptography.dll) Version: 3.2.0.2
Syntax
public static string GetHash(
	this string target,
	HashAlgorithms algorithm
)

Parameters

target
Type: SystemString
The string to hash
algorithm
Type: Cauldron.CryptographyHashAlgorithms
The hash algortihm to use

Return Value

Type: String
The hash value

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also