Closed carlee0 closed 4 years ago
You can use it like this
encoder = IntegerEncoder(context)
value2 = -7
plain2 = Plaintext(encoder.encode(value2))
plain1 = Plaintext("6")
The data for the plaintext is a polynomial with coefficients modulo the plaintext modulus,
see SEAL/native/src/seal/plaintext.h
for details.
Thanks! :)
Hi, it seems that signed integers are not supported. Is this the case? Please see the example below and the error message.
I am new to c++ but I have some experience with c and quite comfortable with Python. I could give it a go to find a fix if you could point me to the direction. :)