public class GF2nONBField extends GF2nField
GF2nField,
GF2nONBElement| Constructor and Description |
|---|
GF2nONBField(int deg,
java.security.SecureRandom random)
constructs an instance of the finite field with 2deg
elements and characteristic 2.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
computeCOBMatrix(GF2nField B1)
Computes the change-of-basis matrix for basis conversion according to
1363.
|
protected void |
computeFieldPolynomial()
Computes the field polynomial for a ONB according to IEEE 1363 A.7.2
(p110f).
|
protected GF2nElement |
getRandomRoot(GF2Polynomial polynomial)
Computes a random root of the given polynomial.
|
convert, equals, getDegree, getFieldPolynomial, hashCode, invertMatrixpublic GF2nONBField(int deg,
java.security.SecureRandom random)
throws java.lang.RuntimeException
deg - -the extention degree of this fieldrandom - - a source of randomness for generating polynomials on the field.java.lang.RuntimeExceptionprotected GF2nElement getRandomRoot(GF2Polynomial polynomial)
getRandomRoot in class GF2nFieldpolynomial - a polynomialprotected void computeCOBMatrix(GF2nField B1)
computeCOBMatrix in class GF2nFieldB1 - the GF2nField to convert toprotected void computeFieldPolynomial()
computeFieldPolynomial in class GF2nField