abcdef

com.trilead.ssh2.crypto.digest
Class HashForSSH2Types

java.lang.Object
  extended by com.trilead.ssh2.crypto.digest.HashForSSH2Types

public class HashForSSH2Types
extends java.lang.Object

HashForSSH2Types.

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

Constructor Summary
HashForSSH2Types(Digest md)
           
HashForSSH2Types(java.lang.String type)
           
 
Method Summary
 byte[] getDigest()
           
 void getDigest(byte[] out)
           
 void getDigest(byte[] out, int off)
           
 int getDigestLength()
           
 void reset()
           
 void updateBigInt(java.math.BigInteger b)
           
 void updateByte(byte b)
           
 void updateBytes(byte[] b)
           
 void updateByteString(byte[] b)
           
 void updateUINT32(int v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashForSSH2Types

public HashForSSH2Types(Digest md)

HashForSSH2Types

public HashForSSH2Types(java.lang.String type)
Method Detail

updateByte

public void updateByte(byte b)

updateBytes

public void updateBytes(byte[] b)

updateUINT32

public void updateUINT32(int v)

updateByteString

public void updateByteString(byte[] b)

updateBigInt

public void updateBigInt(java.math.BigInteger b)

reset

public void reset()

getDigestLength

public int getDigestLength()

getDigest

public byte[] getDigest()

getDigest

public void getDigest(byte[] out)

getDigest

public void getDigest(byte[] out,
                      int off)

abcdef

1232432