// GenerateECKeyPair takes EC group and constructs a public key for pseudonym system scheme in EC
// arithmetic.
GenerateECKeyPair takes EC group and constructs a public key for pseudonym system scheme in EC
arithmetic.
// GenerateECKeyPair takes EC group and constructs a public key for pseudonym system scheme in EC // arithmetic .
func GenerateECKeyPair(group *groups.ECGroup) (*SecKey, *PubKeyEC) {
	s1 := common.GetRandomInt(group.Q)
	s2 := common.GetRandomInt(group.Q)
	h1 := group.ExpBaseG(s1)
	h2 := group.ExpBaseG(s2)
	return NewSecKey(s1, s2), NewPubKeyEC(h1, h2)
}
func GenerateECKeyPair ( group * groups . ECGroup ) ( * SecKey , * PubKeyEC ) { s1 := common . GetRandomInt ( group . Q ) s2 := common . GetRandomInt ( group . Q ) h1 := group . ExpBaseG ( s1 ) h2 := group . ExpBaseG ( s2 ) return NewSecKey ( s1 , s2 ) , NewPubKeyEC ( h1 , h2 ) }
GenerateECKeyPair takes EC group and constructs a public key for pseudonym system scheme in EC
arithmetic.
GenerateECKeyPair takes EC group and constructs a public key for pseudonym system scheme in EC arithmetic .