public class RandomFunction
extends java.lang.Object
| Constructor and Description |
|---|
RandomFunction(java.math.BigInteger deg,
org.cryptimeleon.math.structures.rings.zn.Zp.ZpElement zeroValue,
org.cryptimeleon.math.structures.rings.zn.Zp zpField)
Creates a new random polynomial of degree
deg over the
field. |
| Modifier and Type | Method and Description |
|---|---|
org.cryptimeleon.math.structures.rings.zn.Zp.ZpElement |
getValueFor(java.math.BigInteger x)
Return the value of the polynomial evaluated at
x. |
public RandomFunction(java.math.BigInteger deg,
org.cryptimeleon.math.structures.rings.zn.Zp.ZpElement zeroValue,
org.cryptimeleon.math.structures.rings.zn.Zp zpField)
deg over the
field. The value of the zeroth degree coefficient is zeroValue .deg - degree of the created polynomialzeroValue - value of zeroth degree coefficientzpField - field over which the polynomial is defined