|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--cryptix.security.MessageHash | +--cryptix.security.HashSHA
This class represents the output of a SHA message digest.
Copyright (c) 1995, 1996 Systemics Ltd (http://www.systemics.com/) All rights reserved.
$Revision: 1.4 $
MessageHash
Constructor Summary | |
HashSHA(byte[] hash)
Deprecated. Use new MessageHash("SHA-1", hash) (note that
this does not check the hash length). |
|
HashSHA(SHA md)
Deprecated. Use MessageHash.fromDigest(md) . |
Method Summary | |
static void |
main(java.lang.String[] argv)
Deprecated. Entry point for self test. |
Methods inherited from class cryptix.security.MessageHash |
equals, fromDigest, fromDigest, getAlgorithm, hashCode, length, toByteArray, toString |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public HashSHA(SHA md)
MessageHash.fromDigest(md)
.
md
- a SHA MessageDigest.public HashSHA(byte[] hash)
new MessageHash("SHA-1", hash)
(note that
this does not check the hash length).
hash
- a byte array representing a SHA-1 hash.Method Detail |
public static void main(java.lang.String[] argv) throws java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |