Class java.crypt.HashSHA
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.crypt.HashSHA

java.crypt.MessageHash
   |
   +----java.crypt.HashSHA

public final class HashSHA
extends MessageHash
This class represents the output of a SHA message digestor. in such a way that it can be identifyed as such.

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


Constructor Index

 o HashSHA(byte[])
Creates this from a byte array that MUST be the the correct length
 o HashSHA(SHA)
Creates this from a SHA message digestor

Constructors

 o HashSHA
  public HashSHA(SHA md)
Creates this from a SHA message digestor
Parameters:
md - A SHA MessageDigest.
 o HashSHA
  public HashSHA(byte hash[])
Creates this from a byte array that MUST be the the correct length
Parameters:
hash - A byte array which represents a MD5 hash.
See Also:
HASH_LENGTH

All Packages  Class Hierarchy  This Package  Previous  Next  Index