|
Bouncy Castle Cryptography Library 1.49 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.pqc.math.ntru.euclid.IntEuclidean
public class IntEuclidean
Extended Euclidean Algorithm in int
s
Field Summary | |
---|---|
int |
gcd
|
int |
x
|
int |
y
|
Method Summary | |
---|---|
static IntEuclidean |
calculate(int a,
int b)
Runs the EEA on two int sImplemented from pseudocode on Wikipedia. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int x
public int y
public int gcd
Method Detail |
---|
public static IntEuclidean calculate(int a, int b)
int
s
a
- b
-
IntEuclidean
object that contains the result in the variables x
, y
, and gcd
|
Bouncy Castle Cryptography Library 1.49 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |