cryptix.examples.pgp
Class VanityRSAKeyGen
java.lang.Object
cryptix.security.rsa.RSAKeyGen
cryptix.examples.pgp.VanityRSAKeyGen
- final class VanityRSAKeyGen
- extends RSAKeyGen
This class is a RSA key pair generator.
Copyright (c) 1995, 1996 Systemics Ltd (http://www.systemics.com/)
All rights reserved.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VanityRSAKeyGen
public VanityRSAKeyGen(RandomStream rand0)
randomPrime
public BigInteger randomPrime(int bitlen,
long lsbFix,
RSAKeyGenObserver obsrv)
randomPrime
public BigInteger randomPrime(int bitlen,
int lsbFix,
RSAKeyGenObserver obsrv)
randomPrime
public BigInteger randomPrime(int bitlen,
byte[] lsbFix,
RSAKeyGenObserver obsrv)
createKey
public SecretKey createKey(int bitlen,
int id,
RSAKeyGenObserver obsrv)