// GetZnInvertibleElement returns random element from Z_n*.
GetZnInvertibleElement returns random element from Z_n*.
// GetZnInvertibleElement returns random element from Z_n * .
func GetRandomZnInvertibleElement(n *big.Int) *big.Int {
	for {
		r := GetRandomInt(n)
		if new(big.Int).GCD(nil, nil, r, n).Cmp(big.NewInt(1)) == 0 {
			return r
		}
	}
}
func GetRandomZnInvertibleElement ( n * big . Int ) * big . Int { for { r := GetRandomInt ( n ) if new ( big . Int ) . GCD ( nil , nil , r , n ) . Cmp ( big . NewInt ( 1 ) ) == 0 { return r } } }
GetZnInvertibleElement returns random element from Z_n*.
GetZnInvertibleElement returns random element from Z_n * .