All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptix.security.HashMD5

java.lang.Object
   |
   +----cryptix.security.MessageHash
           |
           +----cryptix.security.HashMD5

public final class HashMD5
extends MessageHash
Note: HashMD5 is deprecated. Use MessageHash instead.

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.3 $

See Also:
MessageHash

Constructor Index

 o HashMD5(byte[])
Constructs a HashMD5 from a byte array that must be the the correct length. Deprecated.
 o HashMD5(MD5)
Constructs a HashMD5 from an MD5 message digest. Deprecated.

Method Index

 o main(String[])
Entry point for self test.

Constructors

 o HashMD5
 public HashMD5(MD5 md)
Note: HashMD5() is deprecated. Use MessageHash.fromDigest(md).

Constructs a HashMD5 from an MD5 message digest.

Parameters:
md - an MD5 MessageDigest.
 o HashMD5
 public HashMD5(byte hash[])
Note: HashMD5() is 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.

Methods

 o main
 public static void main(String argv[]) throws IOException
Entry point for self test.


All Packages  Class Hierarchy  This Package  Previous  Next  Index