Search Wiki:

MD5Core.GetHashString Method (String)


Computes the hash value for the specified string, and returns the human readable representation of the output.

public static byte[] GetHash(
     string input
)

Parameters

input
Type: System.String
The input to compute the hash code for.
NOTE: The input string is treated as a sequence of bytes. This means differences such as language, capitalization, and even punctuation will result in completely different outputs.

Return Value

Type: System.String
The computed hash code, represented as a string of upper case hexadecimal pairs, for instance "9A06BECFED4DFCC83F66406A1DB1BC6C" in the case of the input "Silverlight".

Exceptions
Exception Condition
ArgumentNullException input is a null reference (Nothing in Visual Basic).
Last edited Dec 8 2008 at 3:22 AM  by ReidB, version 2
Updating...
Page view tracker