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

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 to get more familiar with CKKS and its configuration parameters.

1 Like