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
Note: HashSHA is deprecated.
Use MessageHash instead.
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.3 $
- See Also:
- MessageHash
-
HashSHA(byte[])
- Constructs a HashSHA from a byte array that must be the the
correct length.
Deprecated.
-
HashSHA(SHA)
- Constructs a HashSHA from an SHA message digest.
Deprecated.
-
main(String[])
- Entry point for
self_test
.
HashSHA
public HashSHA(SHA md)
- Note: HashSHA() is deprecated.
Use
MessageHash.fromDigest(md)
.
- Constructs a HashSHA from an SHA message digest.
- Parameters:
- md - a SHA MessageDigest.
HashSHA
public HashSHA(byte hash[])
- Note: HashSHA() is deprecated.
Use
new MessageHash("SHA-1", hash)
(note that
this does not check the hash length).
- Constructs a HashSHA from a byte array that must be the the
correct length.
- Parameters:
- hash - a byte array representing a SHA-1 hash.
main
public static void main(String argv[]) throws IOException
- Entry point for
self_test
.
All Packages Class Hierarchy This Package Previous Next Index