Disclaimer: I’m fairly new to FHE and OpenFHE.

I am building an application that works on categorical data with relatively few categories that fit in 8 bits. I want to use Fermat’s little theorem to generate encrypted 1’s for elements that are equal and encrypted 0’s otherwise. To that end, I attempted to change the plaintext modulus to 257, a small prime that fits my data, but I get the error below. I’m not sure what `m`

refers to. I looked in the CCParams but didn’t see anything with the value of 16384.

`Please provide a primeModulus(q) and a cyclotomic number(m) satisfying the condition: (q-1)/m is an integer. The values of primeModulus = 257 and m = 16384 do not satisfy this condition`