Class cryptiX.crypto.Hash
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptiX.crypto.Hash

java.lang.Object
   |
   +----cryptiX.crypto.CryptoUtils
           |
           +----cryptiX.crypto.Hash

public class Hash
extends CryptoUtils

Variable Index

 o hashBytes
 o hashSize

Constructor Index

 o Hash(int)

Method Index

 o add(boolean)
 o add(byte)
 o add(byte[])
 o add(byte[], int, int)
 o add(char)
 o add(double)
 o add(float)
 o add(int)
 o add(long)
 o add(Object)
 o add(short)
 o add(String)
 o addASCII(String)
 o equals(Hash)
 o get()
 o hashCode()
 o hashSize()
 o hashStr(String, Hash)
 o prepare()
 o reset()
 o toString()

Variables

 o hashSize
  protected int hashSize
 o hashBytes
  protected byte hashBytes[]

Constructors

 o Hash
  protected Hash(int hashSize)

Methods

 o hashSize
  public int hashSize()
 o reset
  public abstract void reset()
 o add
  public abstract void add(byte b)
 o add
  public void add(byte data[],
                  int off,
                  int len)
 o prepare
  protected void prepare()
 o get
  public byte[] get()
 o add
  public void add(String str)
 o addASCII
  public void addASCII(String str)
 o add
  public void add(byte data[])
 o add
  public void add(boolean b)
 o add
  public void add(char c)
 o add
  public void add(short s)
 o add
  public void add(int i)
 o add
  public void add(long l)
 o add
  public void add(float f)
 o add
  public void add(double d)
 o add
  public void add(Object o)
 o hashStr
  public static byte[] hashStr(String str,
                               Hash hash)
 o equals
  public boolean equals(Hash otherHash)
 o hashCode
  public int hashCode()
Overrides:
hashCode in class Object
 o toString
  public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index