# Setting security parameters according to 128 bit security (very small CKKS scaling factor)

**URL:** https://openfhe.discourse.group/t/setting-security-parameters-according-to-128-bit-security-very-small-ckks-scaling-factor/396
**Category:** Library Questions
**Created:** [March 7, 2023, 10:24am UTC](https://openfhe.discourse.group/t/setting-security-parameters-according-to-128-bit-security-very-small-ckks-scaling-factor/396 "2023-03-07T10:24:09Z")
**Posts on this page:** 1
**Showing post:** 7

<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: [March 22, 2023, 2:10am UTC](https://openfhe.discourse.group/t/setting-security-parameters-according-to-128-bit-security-very-small-ckks-scaling-factor/396/7 "2023-03-22T02:10:12Z")

</div>

I would not recommend such low values as the approximation error in CKKS is more than 10 bits. So you cannot achieve even 1 bit of precision. Try something like 40 and 50 instead of 10 and 20, respectively. I also suggest watching [Homomorphic Encryption for OpenFHE Users – OpenFHE.org](https://www.openfhe.org/portfolio-item/homomorphic-encryption-for-palisade-users/) to get more familiar with CKKS and its configuration parameters.

---

_[View the full topic](https://openfhe.discourse.group/t/setting-security-parameters-according-to-128-bit-security-very-small-ckks-scaling-factor/396)._
