|
Bouncy Castle Cryptography 1.51 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.pqc.math.ntru.polynomial.test.PolynomialGenerator
public class PolynomialGenerator
| Constructor Summary | |
|---|---|
PolynomialGenerator()
|
|
| Method Summary | |
|---|---|
static IntegerPolynomial |
generateRandom(int N,
int q)
Creates a random polynomial with N coefficients
between 0 and q-1. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PolynomialGenerator()
| Method Detail |
|---|
public static IntegerPolynomial generateRandom(int N,
int q)
N coefficients
between 0 and q-1.
N - length of the polynomialq - coefficients will all be below this number
|
Bouncy Castle Cryptography 1.51 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||