C# Class SharpCifs.Util.Sharpen.Md5Core

显示文件 Open project: brandonprry/Potato Class Usage Examples

Public Methods

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

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

public static GetHash ( byte input ) : byte[]
input byte
return byte[]

GetHash() public static method

public static GetHash ( string input ) : byte[]
input string
return byte[]

GetHash() public static method

public static GetHash ( string input, Encoding encoding ) : byte[]
input string
encoding System.Text.Encoding
return byte[]

GetHashString() public static method

public static GetHashString ( byte input ) : string
input byte
return string

GetHashString() public static method

public static GetHashString ( string input ) : string
input string
return string

GetHashString() public static method

public static GetHashString ( string input, Encoding encoding ) : string
input string
encoding System.Text.Encoding
return string