abcdef

com.trilead.ssh2.crypto.digest
Class HMAC

java.lang.Object
  extended by com.trilead.ssh2.crypto.digest.HMAC
All Implemented Interfaces:
Digest

public final class HMAC
extends java.lang.Object
implements Digest

HMAC.

Version:
$Id: HMAC.java,v 1.1 2007/10/15 12:49:57 cplattne Exp $
Author:
Christian Plattner, plattner@trilead.com

Constructor Summary
HMAC(Digest md, byte[] key, int size)
           
 
Method Summary
 void digest(byte[] out)
           
 void digest(byte[] out, int off)
           
 int getDigestLength()
           
 void reset()
           
 void update(byte b)
           
 void update(byte[] b)
           
 void update(byte[] b, int off, int len)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HMAC

public HMAC(Digest md,
            byte[] key,
            int size)
Method Detail

getDigestLength

public final int getDigestLength()
Specified by:
getDigestLength in interface Digest

update

public final void update(byte b)
Specified by:
update in interface Digest

update

public final void update(byte[] b)
Specified by:
update in interface Digest

update

public final void update(byte[] b,
                         int off,
                         int len)
Specified by:
update in interface Digest

reset

public final void reset()
Specified by:
reset in interface Digest

digest

public final void digest(byte[] out)
Specified by:
digest in interface Digest

digest

public final void digest(byte[] out,
                         int off)
Specified by:
digest in interface Digest

abcdef

1232432