// Chooses random r from H and returns QOneWayHomomorpism(r).
Chooses random r from H and returns QOneWayHomomorpism(r).
// Chooses random r from H and returns QOneWayHomomorpism ( r ) .
func (prover *HomomorphismPreimageProver) GetProofRandomData() *big.Int {
	r := prover.H.GetRandomElement()
	prover.r = r
	x := prover.Homomorphism(r)
	return x
}
func ( prover * HomomorphismPreimageProver ) GetProofRandomData ( ) * big . Int { r := prover . H . GetRandomElement ( ) prover . r = r x := prover . Homomorphism ( r ) return x }
Chooses random r from H and returns QOneWayHomomorpism(r).
Chooses random r from H and returns QOneWayHomomorpism ( r ) .
// TODO: see SchnorrProver comment, note that here setting of the required parameters (v) is // done in the constructor. // x = Homomorphism(r), where r is random