Uses of Class
org.bouncycastle.pqc.math.ntru.polynomial.DenseTernaryPolynomial
-
Packages that use DenseTernaryPolynomial Package Description org.bouncycastle.pqc.math.ntru.polynomial -
-
Uses of DenseTernaryPolynomial in org.bouncycastle.pqc.math.ntru.polynomial
Methods in org.bouncycastle.pqc.math.ntru.polynomial that return DenseTernaryPolynomial Modifier and Type Method Description static DenseTernaryPolynomial
DenseTernaryPolynomial. generateRandom(int N, int numOnes, int numNegOnes, SecureRandom random)
Generates a random polynomial withnumOnes
coefficients equal to 1,numNegOnes
coefficients equal to -1, and the rest equal to 0.static DenseTernaryPolynomial
DenseTernaryPolynomial. generateRandom(int N, SecureRandom random)
Generates a polynomial with coefficients randomly selected from{-1, 0, 1}
.
-