cryptix.examples.pgp
Class VanityKeyGen

java.lang.Object
  |
  +--cryptix.examples.pgp.KeyGen
        |
        +--cryptix.examples.pgp.VanityKeyGen
All Implemented Interfaces:
RSAKeyGenObserver, TestPrimeObserver

public final class VanityKeyGen
extends KeyGen


Fields inherited from class cryptix.examples.pgp.KeyGen
in, out
 
Fields inherited from interface cryptix.security.rsa.RSAKeyGenObserver
FINDING_P, FINDING_Q, KEY_GEN_DONE, KEY_RESOLVING
 
Fields inherited from interface cryptix.math.TestPrimeObserver
HAS_SMALL_FACTORS, IS_PRIME, NO_SMALL_FACTORS, NOT_PRIME
 
Constructor Summary
VanityKeyGen()
           
 
Method Summary
protected  SecretKey getKey(int length, RandomStream rs)
           
static void main(java.lang.String[] argv)
           
 
Methods inherited from class cryptix.examples.pgp.KeyGen
begin, getKeyLength, getPassphrase, getRandomStream, getUserName, handleEvent
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VanityKeyGen

public VanityKeyGen()
Method Detail

main

public static void main(java.lang.String[] argv)

getKey

protected SecretKey getKey(int length,
                           RandomStream rs)
Overrides:
getKey in class KeyGen