|
Bouncy Castle Cryptography 1.50 | ||||||||
| 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 ints
| Field Summary | |
|---|---|
int |
gcd
|
int |
x
|
int |
y
|
| Method Summary | |
|---|---|
static IntEuclidean |
calculate(int a,
int b)
Runs the EEA on two intsImplemented 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)
ints
a - b -
IntEuclidean object that contains the result in the variables x, y, and gcd
|
Bouncy Castle Cryptography 1.50 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||