com.sshtools.j2ssh.util
Class Hash
java.lang.Object
com.sshtools.j2ssh.util.Hash
public class Hash
extends java.lang.Object
Hash(String algorithm) - Creates a new Hash object.
|
Hash
public Hash(String algorithm)
throws NoSuchAlgorithmException
Creates a new Hash object.
doFinal
public byte[] doFinal()
putBigInteger
public void putBigInteger(BigInteger bi)
putByte
public void putByte(byte b)
putBytes
public void putBytes(byte[] data)
putInt
public void putInt(int i)
putString
public void putString(String str)
simple
public static byte[] simple(byte[] data,
String algorithm)
throws NoSuchAlgorithmException
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.