public interface ElementPowPreProcessing extends ElementPow, PreProcessing
Element.getElementPowPreProcessing()
,
Field.getElementPowPreProcessingFromBytes(byte[])
,
Field.getElementPowPreProcessingFromBytes(byte[], int)
,
Field.getElementPowPreProcessingFromBytes(byte[], int)
,
Field
,
Element
Modifier and Type | Method and Description |
---|---|
Field |
getField()
Returns the field the pre-processed element belongs to.
|
Element |
pow(BigInteger n)
Compute the power to n using the pre-processed information.
|
Element |
powZn(Element n)
Compute the power to n, where n is an element of a ring Z_N for some N,
using the pre-processed information,
|
toBytes
Field getField()
Element pow(BigInteger n)
pow
in interface ElementPow
n
- the exponent of the power.Element powZn(Element n)
powZn
in interface ElementPow
n
- the exponent of the power.Copyright © 2013. All rights reserved.