Class cryptix.security.HashMD5
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
This class represents the output of a MD5 message digestor.

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


Constructor Index

 o HashMD5(byte[])
Creates this from a byte array that must be of the correct length
 o HashMD5(MD5)
Creates this from a MD5 message digestor.

Method Index

 o toString()
Returns a big endian Hex string prefixed with "MD5:", showing the value of the hash.

Constructors

 o HashMD5
  public HashMD5(MD5 md)
Creates this from a MD5 message digestor.
Parameters:
md - A MD5 message digestor.
 o HashMD5
  public HashMD5(byte hash[])
Creates this from a byte array that must be of the correct length
Parameters:
hash - A byte array which represents a MD5 hash.

Methods

 o toString
  public String toString()
Returns a big endian Hex string prefixed with "MD5:", showing the value of the hash.
Returns:
a string reprosenting the hash.
Overrides:
toString in class MessageHash

All Packages  Class Hierarchy  This Package  Previous  Next  Index