C# Class ScrewTurn.Wiki.Hash

Helps computing Hash codes.
Mostrar archivo Open project: mono/ScrewTurnWiki

Public Methods

Method Description
Compute ( string input ) : string

Computes the Hash code of a string and converts it into a Hex string.

ComputeBytes ( string input ) : byte[]

Computes the Hash code of a string.

ComputeSecurityHash ( string username, string email, System.DateTime dateTime, string otherData ) : string

Computes the Hash of a Username, mixing it with other data, in order to avoid illegal Account activations.

Method Details

Compute() public static method

Computes the Hash code of a string and converts it into a Hex string.
public static Compute ( string input ) : string
input string The string.
return string

ComputeBytes() public static method

Computes the Hash code of a string.
public static ComputeBytes ( string input ) : byte[]
input string The string.
return byte[]

ComputeSecurityHash() public static method

Computes the Hash of a Username, mixing it with other data, in order to avoid illegal Account activations.
public static ComputeSecurityHash ( string username, string email, System.DateTime dateTime, string otherData ) : string
username string The Username.
email string The email.
dateTime System.DateTime The date/time.
otherData string The other data to mix into the input string.
return string