Click or drag to resize

HashToMD5 Method

Computes the hash value for the specified phrase. The hash size for the SHA512 algorithm is 128 bits.

Namespace:  NetQuarry.Security
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static string ToMD5(
	string phrase,
	string salt
)

Parameters

phrase
Type: SystemString
The input to compute the hash code for. The input to compute the hash code for.
salt
Type: SystemString
The salt to add to the string to be hashed for security.

Return Value

Type: String
The computed hash as a base-64 encoded string.
See Also