cryptix.security
Class HashMD5

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

Deprecated. Use MessageHash instead.

public final class HashMD5
extends MessageHash

This class represents the output of an MD5 message digest.

Copyright (c) 1995, 1996 Systemics Ltd (http://www.systemics.com/) All rights reserved.

$Revision: 1.4 $

See Also:
MessageHash

Constructor Summary
HashMD5(byte[] hash)
          Deprecated. Use new MessageHash("MD5", hash) (note that this does not check the hash length).
HashMD5(MD5 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

HashMD5

public HashMD5(MD5 md)
Deprecated. Use MessageHash.fromDigest(md).

Constructs a HashMD5 from an MD5 message digest.

Parameters:
md - an MD5 MessageDigest.

HashMD5

public HashMD5(byte[] hash)
Deprecated. Use new MessageHash("MD5", hash) (note that this does not check the hash length).

Constructs a HashMD5 from a byte array that must be the the correct length.

Parameters:
hash - a byte array representing an MD5 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