// When receiver receives a decommitment, CheckDecommitment verifies it against the stored value
// (stored by SetCommitment).
When receiver receives a decommitment, CheckDecommitment verifies it against the stored value
(stored by SetCommitment).
// When receiver receives a decommitment CheckDecommitment verifies it against the stored value // ( stored by SetCommitment ) .
func (s *PedersenECReceiver) CheckDecommitment(r, val *big.Int) bool {
	a := s.Group.ExpBaseG(val) 
	b := s.Group.Exp(s.H, r)   
	c := s.Group.Mul(a, b)      * h^r
	return c.Equals(s.commitment)
}
func ( s * PedersenECReceiver ) CheckDecommitment ( r , val * big . Int ) bool { a := s . Group . ExpBaseG ( val ) b := s . Group . Exp ( s . H , r ) c := s . Group . Mul ( a , b ) return c . Equals ( s . commitment ) }
When receiver receives a decommitment, CheckDecommitment verifies it against the stored value
(stored by SetCommitment).
When receiver receives a decommitment CheckDecommitment verifies it against the stored value ( stored by SetCommitment ) .
// g^x // h^r // g^x * h^r