// v generates a cyclic group of squares in Zn^2.
v generates a cyclic group of squares in Zn^2.
// v generates a cyclic group of squares in Zn^2 .
func (tkg *ThresholdKeyGenerator) computeV() error {
	var err error
	tkg.v, err = GetRandomGeneratorOfTheQuadraticResidue(tkg.nSquare, tkg.random)
	return err
}
func ( tkg * ThresholdKeyGenerator ) computeV ( ) error { var err error tkg . v , err = GetRandomGeneratorOfTheQuadraticResidue ( tkg . nSquare , tkg . random ) return err }
v generates a cyclic group of squares in Zn^2.
v generates a cyclic group of squares in Zn^2 .