code: func generateIV(params *ECIESParams, rand io.Reader) (iv []byte, err error) {
  	iv = make([]byte, params.BlockSize)
  	_, err = io.ReadFull(rand, iv)
  	return
  }
docs: // Generate an initialisation vector for CTR mode.