C# Class DBTek.BugGuardian.Helpers.MD5

Inheritance: IDisposable
Datei anzeigen Open project: n3wt0n/BugGuardian

Protected Properties

Property Type Description
HashSizeValue int
HashValue byte[]
State int

Public Methods

Method Description
Clear ( ) : void
ComputeHash ( Stream inputStream ) : byte[]
ComputeHash ( byte buffer ) : byte[]
ComputeHash ( byte buffer, int offset, int count ) : byte[]
Create ( ) : MD5
Create ( string hashName ) : MD5
Dispose ( ) : void
GetMd5String ( string source ) : string
Initialize ( ) : void
TransformBlock ( byte inputBuffer, int inputOffset, int inputCount, byte outputBuffer, int outputOffset ) : int
TransformFinalBlock ( byte inputBuffer, int inputOffset, int inputCount ) : byte[]

Protected Methods

Method Description
Dispose ( bool disposing ) : void
HashCore ( byte input, int offset, int count ) : void
HashFinal ( ) : byte[]

Private Methods

Method Description
Decode ( uint output, int outputOffset, byte input, int inputOffset, int count ) : void
Encode ( byte output, int outputOffset, uint input, int inputOffset, int count ) : void
F ( uint x, uint y, uint z ) : uint
FF ( uint &a, uint b, uint c, uint d, uint x, byte s, uint ac ) : void
G ( uint x, uint y, uint z ) : uint
GG ( uint &a, uint b, uint c, uint d, uint x, byte s, uint ac ) : void
H ( uint x, uint y, uint z ) : uint
HH ( uint &a, uint b, uint c, uint d, uint x, byte s, uint ac ) : void
I ( uint x, uint y, uint z ) : uint
II ( uint &a, uint b, uint c, uint d, uint x, byte s, uint ac ) : void
MD5 ( ) : System
ROTATE_LEFT ( uint x, byte n ) : uint
Transform ( byte block, int offset ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

ComputeHash() public method

public ComputeHash ( Stream inputStream ) : byte[]
inputStream Stream
return byte[]

ComputeHash() public method

public ComputeHash ( byte buffer ) : byte[]
buffer byte
return byte[]

ComputeHash() public method

public ComputeHash ( byte buffer, int offset, int count ) : byte[]
buffer byte
offset int
count int
return byte[]

Create() static public method

static public Create ( ) : MD5
return MD5

Create() static public method

static public Create ( string hashName ) : MD5
hashName string
return MD5

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetMd5String() static public method

static public GetMd5String ( string source ) : string
source string
return string

HashCore() protected method

protected HashCore ( byte input, int offset, int count ) : void
input byte
offset int
count int
return void

HashFinal() protected method

protected HashFinal ( ) : byte[]
return byte[]

Initialize() public method

public Initialize ( ) : void
return void

TransformBlock() public method

public TransformBlock ( byte inputBuffer, int inputOffset, int inputCount, byte outputBuffer, int outputOffset ) : int
inputBuffer byte
inputOffset int
inputCount int
outputBuffer byte
outputOffset int
return int

TransformFinalBlock() public method

public TransformFinalBlock ( byte inputBuffer, int inputOffset, int inputCount ) : byte[]
inputBuffer byte
inputOffset int
inputCount int
return byte[]

Property Details

HashSizeValue protected_oe property

protected int HashSizeValue
return int

HashValue protected_oe property

protected byte[] HashValue
return byte[]

State protected_oe property

protected int State
return int