// Change replaces the key at index i.
Change replaces the key at index i.
// Change replaces the key at index i .
func (pkz privKeys) Change(i int) privKeys {
	res := make(privKeys, len(pkz))
	copy(res, pkz)
	res[i] = ed25519.GenPrivKey()
	return res
}
func ( pkz privKeys ) Change ( i int ) privKeys { res := make ( privKeys , len ( pkz ) ) copy ( res , pkz ) res [ i ] = ed25519 . GenPrivKey ( ) return res }
Change replaces the key at index i.
Change replaces the key at index i .