# Can not change Security Level by changing Ring Dimension and logQ

**URL:** <https://openfhe.discourse.group/t/can-not-change-security-level-by-changing-ring-dimension-and-logq/1520>\
**Category:** FHE Questions\
**Created:** [August 29, 2024, 8:35pm UTC](https://openfhe.discourse.group/t/can-not-change-security-level-by-changing-ring-dimension-and-logq/1520 "2024-08-29T20:35:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JuriusStep](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@JuriusStep](https://openfhe.discourse.group/u/JuriusStep)\
**Post date:** [August 29, 2024, 8:35pm UTC](https://openfhe.discourse.group/t/can-not-change-security-level-by-changing-ring-dimension-and-logq/1520/1 "2024-08-29T20:35:04Z")

</div>

In my Application i changed N from 15 to 17 and loqQ from 230 to 580  
By using “parameters.GetSecurityLevel())” i get always HEStd\_128\_classic  
Because of Standart  
Security Level of ist not the same Security Level of

---

<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:** [August 30, 2024, 7:55pm UTC](https://openfhe.discourse.group/t/can-not-change-security-level-by-changing-ring-dimension-and-logq/1520/2 "2024-08-30T19:55:18Z")

</div>

GetSecurityLevel() returns discrete values (HEStd\_128\_classic, HEStd\_192\_classic, HEStd\_256\_classic, HEStd\_128\_quantum, HEStd\_192\_quantum, HEStd\_256\_quantum, HEStd\_NotSet,), not the the bit security level.

If you want to determine the bits of security for some parameters, take a look here [How to determine the security level by other parameters?](https://openfhe.discourse.group/t/how-to-determine-the-security-level-by-other-parameters/311).
