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.
-
MessageHash(byte[])
- You can not create an instance of this object
-
equals(Object)
-
-
equalTo(byte[])
-
-
hashCode()
-
-
length()
-
-
toByteArray()
-
-
toString()
- Returns a big endian Hex string showing the value of the hash.
MessageHash
protected MessageHash(byte hash0[])
- You can not create an instance of this object
- See Also:
- HashSHA, HashMD5
toByteArray
public final byte[] toByteArray()
- Returns:
- the hash as a new byte array.
length
public final int length()
- Returns:
- the hash length.
hashCode
public int hashCode()
- Overrides:
- hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
- equals in class Object
equalTo
protected final boolean equalTo(byte buffer[])
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