Search Wiki:

MD5.GetHash Method (String)


Computes the hash value for the specified string.

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.Byte[]
The computed hash code.

Exceptions
Exception Condition
ArgumentNullException input is a null reference (Nothing in Visual Basic).
Last edited Nov 22 2008 at 12:23 AM  by ReidB, version 1
Updating...
Page view tracker