Package com.trilead.ssh2.crypto.digest
Class HashForSSH2Types
java.lang.Object
com.trilead.ssh2.crypto.digest.HashForSSH2Types
public class HashForSSH2Types extends 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
Constructors Constructor Description HashForSSH2Types(Digest md)HashForSSH2Types(String type) -
Method Summary
Modifier and Type Method Description byte[]getDigest()voidgetDigest(byte[] out)voidgetDigest(byte[] out, int off)intgetDigestLength()voidreset()voidupdateBigInt(BigInteger b)voidupdateByte(byte b)voidupdateBytes(byte[] b)voidupdateByteString(byte[] b)voidupdateUINT32(int v)
-
Constructor Details
-
Method Details
-
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
-
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)
-