# Precision when changing ring dimension

**URL:** https://openfhe.discourse.group/t/precision-when-changing-ring-dimension/1322
**Category:** FHE Questions
**Created:** [June 4, 2024, 3:37am UTC](https://openfhe.discourse.group/t/precision-when-changing-ring-dimension/1322 "2024-06-04T03:37:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![andoni](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@andoni](https://openfhe.discourse.group/u/andoni)
#### Post date: [June 4, 2024, 3:37am UTC](https://openfhe.discourse.group/t/precision-when-changing-ring-dimension/1322/1 "2024-06-04T03:37:22Z")

</div>

Is my understanding that the ring dimension affects the security level of the encryption, but not the precision, correct?

That is, can I test a code using a low ring dimension, and then move to production only changing the ring dimension and expect the behavior to be the same, except slower?

If it’s relevant, I’m using the CKKS scheme.

Thank you.

---

<div class="post-metadata">

### Author: ![andreea.alexandru](https://yyz1.discourse-cdn.com/flex031/user_avatar/openfhe.discourse.group/andreea.alexandru/32/378_2.png) [@andreea.alexandru](https://openfhe.discourse.group/u/andreea.alexandru)
#### Post date: [June 4, 2024, 8:01pm UTC](https://openfhe.discourse.group/t/precision-when-changing-ring-dimension/1322/2 "2024-06-04T20:01:43Z")

</div>

Please refer to the second part of this answer [For the SingleKey Architecture, I only achieve a 128 security level with a ring dimension of 31k - #2 by Caesar](https://openfhe.discourse.group/t/for-the-singlekey-architecture-i-only-achieve-a-128-security-level-with-a-ring-dimension-of-31k/1279/2)
