All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptix.pgp.Passphrase

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

public final class Passphrase
extends Object
This class stores a passphrase's MD5 hash, which is all that is needed, then attempts to wipe the plaintext from memory. A determined attacker could still find this hash (e.g. from a swapfile) - so keep your computer physically secure and only install trusted applications.

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

$Revision: 1.1.1.1 $

Author:
Ian Brown, Jill Baker

Constructor Index

 o Passphrase()
Deprecated.
 o Passphrase(boolean)
Deprecated.
 o Passphrase(String)

Method Index

 o hash()
Deprecated.
 o md5hash()

Constructors

 o Passphrase
 public Passphrase(String passphrase)
 o Passphrase
 public Passphrase() throws IOException
Note: Passphrase() is deprecated. Obtaining a password from the user is part of the UI, and should not be a part of this library. (At least, not in this file).

 o Passphrase
 public Passphrase(boolean showPass) throws IOException
Note: Passphrase() is deprecated. Obtaining a password from the user is part of the UI, and should not be a part of this library. (At least, not in this file).

Methods

 o hash
 public IDEA hash()
Note: hash() is deprecated.

 o md5hash
 public byte[] md5hash()

All Packages  Class Hierarchy  This Package  Previous  Next  Index