C# Class NetworkCommsDotNet.Tools.MD5Core

Part of the managed MD5 calculator
ファイルを表示 Open project: MarcFletcher/NetworkComms.Net Class Usage Examples

Public Methods

Method Description
GetHash ( byte input ) : byte[]

Return an MD5 hash for the provided parameters

GetHash ( string input ) : byte[]

Return an MD5 hash for the provided parameters

GetHash ( string input, Encoding encoding ) : byte[]

Return an MD5 hash for the provided parameters

GetHashString ( byte input ) : string

Return an MD5 hash for the provided parameters

GetHashString ( string input ) : string

Return an MD5 hash for the provided parameters

GetHashString ( string input, Encoding encoding ) : string

Return an MD5 hash for the provided parameters

Private Methods

Method Description
Converter ( byte input, int ibStart ) : uint[]
GetHashBlock ( byte input, ABCDStruct &ABCDValue, int ibStart ) : void
GetHashFinalBlock ( byte input, int ibStart, int cbSize, ABCDStruct ABCD, System.Int64 len ) : byte[]
LSR ( uint i, int s ) : uint
MD5Core ( ) : System
r1 ( uint a, uint b, uint c, uint d, uint x, int s, uint t ) : uint
r2 ( uint a, uint b, uint c, uint d, uint x, int s, uint t ) : uint
r3 ( uint a, uint b, uint c, uint d, uint x, int s, uint t ) : uint
r4 ( uint a, uint b, uint c, uint d, uint x, int s, uint t ) : uint

Method Details

GetHash() public static method

Return an MD5 hash for the provided parameters
public static GetHash ( byte input ) : byte[]
input byte
return byte[]

GetHash() public static method

Return an MD5 hash for the provided parameters
public static GetHash ( string input ) : byte[]
input string
return byte[]

GetHash() public static method

Return an MD5 hash for the provided parameters
public static GetHash ( string input, Encoding encoding ) : byte[]
input string
encoding System.Text.Encoding
return byte[]

GetHashString() public static method

Return an MD5 hash for the provided parameters
public static GetHashString ( byte input ) : string
input byte
return string

GetHashString() public static method

Return an MD5 hash for the provided parameters
public static GetHashString ( string input ) : string
input string
return string

GetHashString() public static method

Return an MD5 hash for the provided parameters
public static GetHashString ( string input, Encoding encoding ) : string
input string
encoding System.Text.Encoding
return string