GF2nElement.
GF2nElement
| Modifier and Type | Method and Description |
|---|---|
| public GFElement | |
| public void | |
| public Object | |
| public boolean | |
| public int | |
| public GFElement | |
| public boolean | |
| public boolean | |
| public GFElement | |
| public void | |
| public GFElement | |
| public void | subtractFromThis(GFElement
the minuend minuend)Compute the difference of this element and minuend, overwriting this element. |
| public byte[] | |
| public BigInteger | |
| public String | Returns: String representation of this elementReturn a String representation of this element. |
| public String | Returns: String representation of this element with the specified radixspecifies the radix of the String representation radix)Return a String representation of this element. |
| add | back to summary |
|---|---|
| public GFElement add(GFElement addend) throws RuntimeException Compute the sum of this element and the addend. | |
| addToThis | back to summary |
|---|---|
| public void addToThis(GFElement addend) throws RuntimeException Compute the sum of this element and the addend, overwriting this element.
| |
| clone | back to summary |
|---|---|
public Object clone()
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Compare this curve with another object.
| |
| hashCode | back to summary |
|---|---|
public int hashCode()
| |
| invert | back to summary |
|---|---|
| public GFElement invert() throws ArithmeticException Compute the multiplicative inverse of this element.
| |
| isOne | back to summary |
|---|---|
| public boolean isOne() Checks whether this element is one.
| |
| isZero | back to summary |
|---|---|
| public boolean isZero() Checks whether this element is zero.
| |
| multiply | back to summary |
|---|---|
| public GFElement multiply(GFElement factor) throws RuntimeException Compute the product of this element and factor. | |
| multiplyThisBy | back to summary |
|---|---|
| public void multiplyThisBy(GFElement factor) throws RuntimeException Compute this * factor (overwrite this).
| |
| subtract | back to summary |
|---|---|
| public GFElement subtract(GFElement minuend) throws RuntimeException Compute the difference of this element and minuend. | |
| subtractFromThis | back to summary |
|---|---|
| public void subtractFromThis(GFElement minuend) Compute the difference of this element and minuend, overwriting this element.
| |
| toByteArray | back to summary |
|---|---|
| public byte[] toByteArray() Returns this element as byte array. The conversion is P1363-conform.
| |
| toFlexiBigInt | back to summary |
|---|---|
| public BigInteger toFlexiBigInt() Returns this element as FlexiBigInt. The conversion is P1363-conform.
| |
| toString | back to summary |
|---|---|
| public String toString() Return a String representation of this element.
| |
| toString | back to summary |
|---|---|
| public String toString(int radix) Return a String representation of this element. radix specifies the radix of the String representation.
| |