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 !!!

Constructor Index

 o TestPrime()

Method Index

 o hasSmallFactor(BigInt)
 o isPrime(BigInt)

Constructors

 o TestPrime
  public TestPrime()

Methods

 o hasSmallFactor
  public final static boolean hasSmallFactor(BigInt n)
 o isPrime
  public static boolean isPrime(BigInt p)

All Packages  Class Hierarchy  This Package  Previous  Next  Index