Class cryptix.security.MessageHash
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptix.security.MessageHash

java.lang.Object
   |
   +----cryptix.security.MessageHash

public class MessageHash
extends Object
this class reprosents the output from a message digestor in a form where the type and be asertained.

Copyright (C) 1995, 1996 Systemics Ltd (http://www.systemics.com/) All rights reserved.


Constructor Index

 o MessageHash(byte[])
You can not create an instance of this object

Method Index

 o equals(Object)
 o equalTo(byte[])
 o hashCode()
 o length()
 o toByteArray()
 o toString()
Returns a big endian Hex string showing the value of the hash.

Constructors

 o MessageHash
  protected MessageHash(byte hash0[])
You can not create an instance of this object
See Also:
HashSHA, HashMD5

Methods

 o toByteArray
  public final byte[] toByteArray()
Returns:
the hash as a new byte array.
 o length
  public final int length()
Returns:
the hash length.
 o hashCode
  public int hashCode()
Overrides:
hashCode in class Object
 o equals
  public boolean equals(Object obj)
Overrides:
equals in class Object
 o equalTo
  protected final boolean equalTo(byte buffer[])
 o toString
  public String toString()
Returns a big endian Hex string showing the value of the hash.
Returns:
a string reprosenting the hash.
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index