Click or drag to resize

ExtensionsCryptographyGetHash Method (Byte, HashAlgorithms)

Get the hash representing the string

Namespace:  Cauldron
Assembly:  Cauldron.Cryptography (in Cauldron.Cryptography.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static string GetHash(
	this byte[] target,
	HashAlgorithms algorithm
)

Parameters

target
Type: SystemByte
The bytes array 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 . 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