public class ECSchnorrZKP
extends java.lang.Object
| Constructor and Description |
|---|
ECSchnorrZKP(ECPoint V,
java.math.BigInteger r)
Constructor for ECSchnorrZKP
|
| Modifier and Type | Method and Description |
|---|---|
java.math.BigInteger |
getr()
Get the prover's response r to the challenge c, r = v - d * c mod n where d is the prover's private key
|
ECPoint |
getV()
Get the prover's commitment V = G x [v] where G is a base point on the elliptic curve and v is an ephemeral secret
|
public ECSchnorrZKP(ECPoint V, java.math.BigInteger r)
V - Prover's commitment V = G x [v]r - Prover's response r to a challenge c, r = v - d * c mod npublic ECPoint getV()
public java.math.BigInteger getr()