C# Class MD5Core, ended2017-CatrobatForWindows

Exibir arquivo Open project: Catrobat/CatrobatForWindows 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, Int64 len ) : byte[]
LSR ( uint i, int s ) : uint
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 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 Encoding,
return string