Class BigIntEuclidean
- java.lang.Object
-
- org.bouncycastle.pqc.math.ntru.euclid.BigIntEuclidean
-
public class BigIntEuclidean extends Object
Extended Euclidean Algorithm inBigInteger
s
-
-
Field Summary
Fields Modifier and Type Field Description BigInteger
gcd
BigInteger
x
BigInteger
y
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BigIntEuclidean
calculate(BigInteger a, BigInteger b)
-
-
-
Field Detail
-
x
public BigInteger x
-
y
public BigInteger y
-
gcd
public BigInteger gcd
-
-
Method Detail
-
calculate
public static BigIntEuclidean calculate(BigInteger a, BigInteger b)
- Parameters:
a
-b
-- Returns:
- a
BigIntEuclidean
object that contains the result in the variablesx
,y
, andgcd
-
-