I’m trying to understand how its represented a ciphertext of CKKS in memory, or the data structure in OpenFHE.
Here is what I understand using the flag FLEXIBLEAUTO, correct me if I’m wrong. I also add some questions.
- There is an example using FIXEDMANUAL flag?
- Given a polynomial degree N and a multiplicative depth K. This means that will be have a coefficient module q similar the producer of K prime numbers similar to the scaling factor? If so How many bits are in each prime number? How is this scaling factor?
- The encoding in the CRT representation there will be an array of K polynomials with coefficients of the bits like the scaling factor??
- The same but in the ciphertext will be 2 polynomials that in CRT each one will be two of this K polynomials that i say in 3?
- The Ciphertext data structure is an array of Polynomials represented in a CRT form. Correct?
- What is the data structure of a Polynomials in CRT form (its also applys NTT form no?), is a array of arrays (matrix)? In which each element correspond to one of the primes of the CRT? and inside this array has size equal to the polynomial degree and each element is the correspond coefficient in order?
- There is something else that in missing? There is a better way to understand all this? Is a little hard to figure out this only with code.