Click or drag to resize
HasherComputeHash Method (String, HashereHashType)
Computes the hash of the string using a specified hash algorithm

Namespace: DrawerBackup.Native.Extensions
Assembly: DrawerBackup.Native (in DrawerBackup.Native.dll) Version: 0.0.1.1 (0.0.1.1)
Syntax
public static string ComputeHash(
	this string input,
	HashereHashType hashType
)

Parameters

input
Type: SystemString
The string to hash
hashType
Type: DrawerBackup.Native.ExtensionsHashereHashType
The hash algorithm to use

Return Value

Type: String
The resulting hash or an empty string on error

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