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
Afficher le fichier Open project: brandonprry/Potato Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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 méthode

public Digest ( ) : byte[]
Résultat byte[]

EngineDigest() protected méthode

protected EngineDigest ( ) : byte[]
Résultat byte[]

EngineDigest() protected méthode

protected EngineDigest ( byte buf, int offset, int len ) : int
buf byte
offset int
len int
Résultat int

EngineGetDigestLength() protected méthode

protected EngineGetDigestLength ( ) : int
Résultat int

EngineReset() protected méthode

protected EngineReset ( ) : void
Résultat void

EngineUpdate() protected méthode

protected EngineUpdate ( byte b ) : void
b byte
Résultat void

EngineUpdate() protected méthode

protected EngineUpdate ( byte input, int offset, int len ) : void
input byte
offset int
len int
Résultat void

GetDigestLength() public méthode

public GetDigestLength ( ) : int
Résultat int

Hmact64() public méthode

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.
Résultat System

Reset() public méthode

public Reset ( ) : void
Résultat void

Update() public méthode

public Update ( byte b ) : void
b byte
Résultat void

Update() public méthode

public Update ( byte b, int offset, int len ) : void
b byte
offset int
len int
Résultat void