// It receives challenge defined by a verifier, and returns z = r + challenge * w.
It receives challenge defined by a verifier, and returns z = r + challenge * w.
// It receives challenge defined by a verifier and returns z = r + challenge * w .
func (p *SchnorrECProver) GetProofData(challenge *big.Int) *big.Int {
	z := new(big.Int)
	z.Mul(challenge, p.secret)
	z.Add(z, p.r)
	z.Mod(z, p.Group.Q)
	return z
}
func ( p * SchnorrECProver ) GetProofData ( challenge * big . Int ) * big . Int { z := new ( big . Int ) z . Mul ( challenge , p . secret ) z . Add ( z , p . r ) z . Mod ( z , p . Group . Q ) return z }
It receives challenge defined by a verifier, and returns z = r + challenge * w.
It receives challenge defined by a verifier and returns z = r + challenge * w .
// z = r + challenge * secret