Class cryptix.security.HashSHA
All Packages Class Hierarchy This Package Previous Next Index
Class cryptix.security.HashSHA
java.lang.Object
|
+----cryptix.security.MessageHash
|
+----cryptix.security.HashSHA
- public final class HashSHA
- extends MessageHash
This class represents the output of a SHA message digestor.
Copyright (C) 1995, 1996 Systemics Ltd (http://www.systemics.com/)
All rights reserved.
-
HashSHA(byte[])
- Creates this from a byte array that must be the the correct length
-
HashSHA(SHA)
- Creates this from an SHA message digestor
-
toString()
- Returns a big endian Hex string prefixed with "SHA:",
showing the value of the hash.
HashSHA
public HashSHA(SHA md)
- Creates this from an SHA message digestor
- Parameters:
- md - An SHA MessageDigest.
HashSHA
public HashSHA(byte hash[])
- Creates this from a byte array that must be the the correct length
- Parameters:
- hash - A byte array which represents an SHA hash.
toString
public String toString()
- Returns a big endian Hex string prefixed with "SHA:",
showing the value of the hash.
- Returns:
- a string reprosenting the hash.
- Overrides:
- toString in class MessageHash
All Packages Class Hierarchy This Package Previous Next Index