# OpenFHE Parameters

**URL:** <https://openfhe.discourse.group/t/openfhe-parameters/1075>\
**Category:** Library Questions\
**Tags:** questions, openfhe-help\
**Created:** [February 13, 2024, 3:22pm UTC](https://openfhe.discourse.group/t/openfhe-parameters/1075 "2024-02-13T15:22:51Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [July 26, 2024, 1:44am UTC](https://openfhe.discourse.group/t/openfhe-parameters/1075/5 "2024-07-26T01:44:34Z")

</div>

You can use the function `print_moduli_chain` in this [post](https://openfhe.discourse.group/t/openfhe-ckks-chooses-modulus-chain-that-doesnt-guarantee-128-bits-of-security/405) to print all the prime factors of the extended ciphertext modulus QP in CKKS.

To control the size of the ciphertext modulus Q, you can try controling the multiplicative depth via `parameters.SetMultiplicativeDepth(d);` =\> increasing `d` will increase Q.

There are other ways to control P, but I assume you are not interested in that parameter.

---

_[View the full topic](https://openfhe.discourse.group/t/openfhe-parameters/1075)._
