Class cryptiX.rsa.TestPrime
All Packages Class Hierarchy This Package Previous Next Index
Class cryptiX.rsa.TestPrime
java.lang.Object
|
+----cryptiX.rsa.TestPrime
- public class TestPrime
- extends Object
This function tests the primality of a BigInt.
ATTENTION: This test works only for numbers > 8161 !!!
-
TestPrime()
-
-
hasSmallFactor(BigInt)
-
-
isPrime(BigInt)
-
TestPrime
public TestPrime()
hasSmallFactor
public final static boolean hasSmallFactor(BigInt n)
isPrime
public static boolean isPrime(BigInt p)
All Packages Class Hierarchy This Package Previous Next Index