// Exp computes base^exponent in ECGroup where base is the generator.
// This actually means exponent * G as this is additive group.
Exp computes base^exponent in ECGroup where base is the generator.
This actually means exponent * G as this is additive group.
// Exp computes base^exponent in ECGroup where base is the generator . // This actually means exponent * G as this is additive group .
func (group *ECGroup) ExpBaseG(exponent *big.Int) *ECGroupElement {
	hx, hy := group.Curve.ScalarBaseMult(exponent.Bytes())
	return NewECGroupElement(hx, hy)
}
func ( group * ECGroup ) ExpBaseG ( exponent * big . Int ) * ECGroupElement { hx , hy := group . Curve . ScalarBaseMult ( exponent . Bytes ( ) ) return NewECGroupElement ( hx , hy ) }
Exp computes base^exponent in ECGroup where base is the generator.
Exp computes base^exponent in ECGroup where base is the generator .
// computes g ^^ exponent or better to say g * exponent as this is elliptic ((gx, gy) * exponent)