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 methods to read and write message hashes.

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

$Revision: 1.2 $

Author:
original author unknown

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

All Packages  Class Hierarchy  This Package  Previous  Next  Index