C# Class SharpCifs.Util.Hmact64

This is an implementation of the HMACT64 keyed hashing algorithm.
This is an implementation of the HMACT64 keyed hashing algorithm. HMACT64 is defined by Luke Leighton as a modified HMAC-MD5 (RFC 2104) in which the key is truncated at 64 bytes (rather than being hashed via MD5).
Inheritance: SharpCifs.Util.Sharpen.MessageDigest
Show file Open project: brandonprry/Potato Class Usage Examples

Public Methods

Method Description
Digest ( ) : byte[]
GetDigestLength ( ) : int
Hmact64 ( byte key ) : System

Creates an HMACT64 instance which uses the given secret key material.

Creates an HMACT64 instance which uses the given secret key material.

Reset ( ) : void
Update ( byte b ) : void
Update ( byte b, int offset, int len ) : void

Protected Methods

Method Description
EngineDigest ( ) : byte[]
EngineDigest ( byte buf, int offset, int len ) : int
EngineGetDigestLength ( ) : int
EngineReset ( ) : void
EngineUpdate ( byte b ) : void
EngineUpdate ( byte input, int offset, int len ) : void

Method Details

Digest() public method

public Digest ( ) : byte[]
return byte[]

EngineDigest() protected method

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

EngineDigest() protected method

protected EngineDigest ( byte buf, int offset, int len ) : int
buf byte
offset int
len int
return int

EngineGetDigestLength() protected method

protected EngineGetDigestLength ( ) : int
return int

EngineReset() protected method

protected EngineReset ( ) : void
return void

EngineUpdate() protected method

protected EngineUpdate ( byte b ) : void
b byte
return void

EngineUpdate() protected method

protected EngineUpdate ( byte input, int offset, int len ) : void
input byte
offset int
len int
return void

GetDigestLength() public method

public GetDigestLength ( ) : int
return int

Hmact64() public method

Creates an HMACT64 instance which uses the given secret key material.
Creates an HMACT64 instance which uses the given secret key material.
public Hmact64 ( byte key ) : System
key byte The key material to use in hashing.
return System

Reset() public method

public Reset ( ) : void
return void

Update() public method

public Update ( byte b ) : void
b byte
return void

Update() public method

public Update ( byte b, int offset, int len ) : void
b byte
offset int
len int
return void