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
-
Passphrase()
-
Deprecated.
-
Passphrase(boolean)
-
Deprecated.
-
Passphrase(String)
-
-
hash()
-
Deprecated.
-
md5hash()
-
Passphrase
public Passphrase(String passphrase)
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).
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).
hash
public IDEA hash()
- Note: hash() is deprecated.
md5hash
public byte[] md5hash()
All Packages Class Hierarchy This Package Previous Next Index