Click or drag to resize

CryptoExtensionsComputeHashBase64 Method

Computes a hash from a UTF-8 encoded string and then encodes the result as base-64.

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

Parameters

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

Return Value

Type: String
The hash bytes encoded as base-64.

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