SEAL icon indicating copy to clipboard operation
SEAL copied to clipboard

Context parameter values combination to operate on large integers

Open gsib opened this issue 7 years ago • 1 comments

My configuration is as follows:

seal::EncryptionParameters parms(scheme_type::BFV); size_t poly_modulus_degree = 16384; parms.set_poly_modulus_degree(poly_modulus_degree); parms.set_coeff_modulus(CoeffModulus::BFVDefault(poly_modulus_degree)); parms.set_plain_modulus(256);

The results are accurate when computing encrypted integers with values lesser than 10. If I go with even bigger integers say over 100, I get "plain is not valid for encryption parameters" for a simple operation like adding.

gsib avatar Aug 16 '19 09:08 gsib

Ok problem solved in the encoders example

gsib avatar Aug 16 '19 13:08 gsib