Class cryptix.pgp.HashFactory
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptix.pgp.HashFactory

java.lang.Object
   |
   +----cryptix.pgp.HashFactory

public final class HashFactory
extends Object
static class that reads and writes message hashes.
Author:
Original author not stated

Copyright © 1995, 1996, 1997 Systemics Ltd on behalf of the Cryptix Development Team. All rights reserved.


Method Index

 o bigIntFromHash(PublicKey, byte[])
 o bigIntFromHash(PublicKey, byte[], RandomStream)
 o fromString(String)
 o hashFromBigInt(BigInteger)
 o load(byte[])
 o read(DataInput)
 o save(MessageHash)
 o toFilename(MessageHash)
 o toString(MessageHash)
 o write(DataOutput, MessageHash)

Methods

 o load
  public final static MessageHash load(byte buf[]) throws IOException
 o save
  public final static byte[] save(MessageHash mh) throws IOException
 o read
  public final static MessageHash read(DataInput in) throws IOException
 o write
  public final static void write(DataOutput out,
                                 MessageHash mh) throws IOException
 o toString
  public final static String toString(MessageHash mh)
 o fromString
  public final static MessageHash fromString(String str)
 o toFilename
  public final static String toFilename(MessageHash mh)
 o bigIntFromHash
  public final static BigInteger bigIntFromHash(PublicKey key,
                                                byte hash[],
                                                RandomStream rand)
 o bigIntFromHash
  public static BigInteger bigIntFromHash(PublicKey key,
                                          byte hash[])
 o hashFromBigInt
  public final static byte[] hashFromBigInt(BigInteger b)

All Packages  Class Hierarchy  This Package  Previous  Next  Index