Class BigIntEuclidean

java.lang.Object
org.bouncycastle.pqc.legacy.math.ntru.euclid.BigIntEuclidean

public class BigIntEuclidean extends Object
Extended Euclidean Algorithm in BigIntegers
  • Field Details

  • Method Details

    • calculate

      public static BigIntEuclidean calculate(BigInteger a, BigInteger b)
      Runs the EEA on two BigIntegers
      Implemented from pseudocode on Wikipedia.
      Parameters:
      a -
      b -
      Returns:
      a BigIntEuclidean object that contains the result in the variables x, y, and gcd