|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mindbright.util.Math
Some advanced utility math functions.
Constructor Summary | |
Math()
|
Method Summary | |
static java.math.BigInteger |
findRandomGenerator(java.math.BigInteger order,
java.math.BigInteger modulo,
SecureRandom random)
Create a random generator suitable for DSA key generation |
static java.math.BigInteger[] |
findRandomStrongPrime(int primeBits,
int orderBits,
SecureRandom random)
Find a random cryptographically secure prime number of the specified size. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Math()
Method Detail |
public static java.math.BigInteger findRandomGenerator(java.math.BigInteger order, java.math.BigInteger modulo, SecureRandom random)
public static java.math.BigInteger[] findRandomStrongPrime(int primeBits, int orderBits, SecureRandom random)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |