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

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


Constructor Index

 o HashSHA0(byte[])
Creates this from a byte array that must be the the correct length
 o HashSHA0(SHA0)
Creates this from an SHA0 message digestor

Method Index

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

Constructors

 o HashSHA0
  public HashSHA0(SHA0 md)
Creates this from an SHA0 message digestor
Parameters:
md - An SHA0 MessageDigest.
 o HashSHA0
  public HashSHA0(byte hash[])
Creates this from a byte array that must be the the correct length
Parameters:
hash - A byte array which represents an SHA0 hash.

Methods

 o toString
  public String toString()
Returns a big endian Hex string prefixed with "SHA0:", 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