jcifs.util
Class HMACT64
- Cloneable
public class HMACT64
extends MessageDigest
implements Cloneable
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).
HMACT64(byte[] key) - Creates an HMACT64 instance which uses the given secret key material.
|
HMACT64
public HMACT64(byte[] key)
Creates an HMACT64 instance which uses the given secret key material.
key
- The key material to use in hashing.
clone
public Object clone()
engineDigest
protected byte[] engineDigest()
engineDigest
protected int engineDigest(byte[] buf,
int offset,
int len)
engineGetDigestLength
protected int engineGetDigestLength()
engineReset
protected void engineReset()
engineUpdate
protected void engineUpdate(byte b)
engineUpdate
protected void engineUpdate(byte[] input,
int offset,
int len)