cryptix.security
Class HashSHA0

java.lang.Object
  extended bycryptix.security.MessageHash
      extended bycryptix.security.HashSHA0

Deprecated. Use MessageHash instead.

public final class HashSHA0
extends MessageHash

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

Constructor Summary
HashSHA0(byte[] hash)
          Deprecated. Use new MessageHash("SHA-0", hash) (note that this does not check the hash length).
HashSHA0(SHA0 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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HashSHA0

public HashSHA0(SHA0 md)
Deprecated. Use MessageHash.fromDigest(md).

Constructs a HashSHA0 from an SHA0 message digest.

Parameters:
md - a SHA0 MessageDigest.

HashSHA0

public HashSHA0(byte[] hash)
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.
Method Detail

main

public static void main(java.lang.String[] argv)
                 throws java.io.IOException
Deprecated. 
Entry point for self test.

Throws:
java.io.IOException