# Understanding Key Switching in CKKS

**URL:** https://openfhe.discourse.group/t/understanding-key-switching-in-ckks/1161
**Category:** FHE Questions
**Created:** [April 1, 2024, 6:58pm UTC](https://openfhe.discourse.group/t/understanding-key-switching-in-ckks/1161 "2024-04-01T18:58:34Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![thefrankinator7](https://avatars.discourse-cdn.com/v4/letter/t/e480ec/32.png) [@thefrankinator7](https://openfhe.discourse.group/u/thefrankinator7)
#### Post date: [April 1, 2024, 6:58pm UTC](https://openfhe.discourse.group/t/understanding-key-switching-in-ckks/1161/1 "2024-04-01T18:58:34Z")

</div>

Hi all,

I’m looking to understand key switching / relinearization for the RNS-CKKS scheme especially in OpenFHE, particularly the hybrid method. What is the best paper to look at that matches up with the implementation in OpenFHE?

Thank you

---

<div class="post-metadata">

### Author: ![Caesar](https://yyz1.discourse-cdn.com/flex031/user_avatar/openfhe.discourse.group/caesar/32/63_2.png) [@Caesar](https://openfhe.discourse.group/u/Caesar)
#### Post date: [April 2, 2024, 2:45pm UTC](https://openfhe.discourse.group/t/understanding-key-switching-in-ckks/1161/2 "2024-04-02T14:45:58Z")

</div>

This [paper](https://eprint.iacr.org/2021/204) includes the Hybrid Key Switching algorithm that is implemented in OpenFHE.
