# I am encrypting a vector into ciphertext, and I want to exchange some values in the ciphertext for each other. What should I do?

**URL:** <https://openfhe.discourse.group/t/i-am-encrypting-a-vector-into-ciphertext-and-i-want-to-exchange-some-values-in-the-ciphertext-for-each-other-what-should-i-do/711>\
**Category:** FHE Questions\
**Created:** [July 20, 2023, 8:31am UTC](https://openfhe.discourse.group/t/i-am-encrypting-a-vector-into-ciphertext-and-i-want-to-exchange-some-values-in-the-ciphertext-for-each-other-what-should-i-do/711 "2023-07-20T08:31:35Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ypolyakov](https://yyz1.discourse-cdn.com/flex031/user_avatar/openfhe.discourse.group/ypolyakov/32/47_2.png) [@ypolyakov](https://openfhe.discourse.group/u/ypolyakov)\
**Post date:** [July 24, 2023, 2:57pm UTC](https://openfhe.discourse.group/t/i-am-encrypting-a-vector-into-ciphertext-and-i-want-to-exchange-some-values-in-the-ciphertext-for-each-other-what-should-i-do/711/4 "2023-07-24T14:57:12Z")

</div>

I suggest reading [Slot-shuffling homomorphically - #4 by ypolyakov](https://openfhe.discourse.group/t/slot-shuffling-homomorphically/170/4)

---

_[View the full topic](https://openfhe.discourse.group/t/i-am-encrypting-a-vector-into-ciphertext-and-i-want-to-exchange-some-values-in-the-ciphertext-for-each-other-what-should-i-do/711)._
