C# Class MailKit.Security.Ntlm.MD4

Inheritance: IDisposable
Mostra file Open project: jstedfast/MailKit Class Usage Examples

Public Methods

Method Description
ComputeHash ( Stream inputStream ) : byte[]
ComputeHash ( byte buffer ) : byte[]
ComputeHash ( byte buffer, int offset, int count ) : byte[]
Dispose ( ) : void
Initialize ( ) : void
MD4 ( ) : System
TransformBlock ( byte inputBuffer, int inputOffset, int inputCount, byte outputBuffer, int outputOffset ) : int
TransformFinalBlock ( byte inputBuffer, int inputOffset, int inputCount ) : byte[]

Private Methods

Method Description
Decode ( uint output, byte input, int index ) : void
Dispose ( bool disposing ) : void
Encode ( byte output, uint input ) : void
F ( uint x, uint y, uint z ) : uint
FF ( uint &a, uint b, uint c, uint d, uint x, byte s ) : void
G ( uint x, uint y, uint z ) : uint
GG ( uint &a, uint b, uint c, uint d, uint x, byte s ) : void
H ( uint x, uint y, uint z ) : uint
HH ( uint &a, uint b, uint c, uint d, uint x, byte s ) : void
HashCore ( byte block, int offset, int size ) : void
HashFinal ( ) : byte[]
MD4Transform ( byte block, int index ) : void
Padding ( int length ) : byte[]
ROL ( uint x, byte n ) : uint

Method Details

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[]

Dispose() public method

public Dispose ( ) : void
return void

Initialize() public method

public Initialize ( ) : void
return void

MD4() public method

public MD4 ( ) : System
return System

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[]