All Packages Class Hierarchy This Package Previous Next Index
Class cryptix.security.HashSHA0
java.lang.Object
|
+----cryptix.security.MessageHash
|
+----cryptix.security.HashSHA0
- public final class HashSHA0
- extends MessageHash
Note: HashSHA0 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.2 $
- See Also:
- MessageHash
-
HashSHA0(byte[])
- Constructs a HashSHA0 from a byte array that must be the the
correct length.
Deprecated.
-
HashSHA0(SHA0)
- Constructs a HashSHA0 from an SHA0 message digest.
Deprecated.
HashSHA0
public HashSHA0(SHA0 md)
- Note: HashSHA0() is deprecated.
Use
MessageHash.fromDigest(md)
.
- Constructs a HashSHA0 from an SHA0 message digest.
- Parameters:
- md - a SHA0 MessageDigest.
HashSHA0
public HashSHA0(byte hash[])
- Note: HashSHA0() is deprecated.
Use
new MessageHash("SHA-0", hash)
(note that
this does not check the hash length).
- Constructs a HashSHA0 from a byte array that must be the the
correct length.
- Parameters:
- hash - a byte array representing a SHA-0 hash.
All Packages Class Hierarchy This Package Previous Next Index