Click or drag to resize

CryptoExtensionsComputeHash Method

Computes a hash from a UTF-8 encoded string.

Namespace:  Neon.Cryptography
Assembly:  Neon.Cryptography (in Neon.Cryptography.dll) Version: 2.2.0
Syntax
public static byte[] ComputeHash(
	this MD5 hasher,
	string input
)

Parameters

hasher
Type: System.Security.CryptographyMD5
The hasher.
input
Type: SystemString
The input string.

Return Value

Type: Byte
The hash bytes.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type MD5. 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