homenc / HElib

HElib is an open-source software library that implements homomorphic encryption. It supports the BGV scheme with bootstrapping and the Approximate Number CKKS scheme. HElib also includes optimizations for efficient homomorphic evaluation, focusing on effective use of ciphertext packing techniques and on the Gentry-Halevi-Smart optimizations.
https://homenc.github.io/HElib
Other
3.11k stars 761 forks source link

How to choose valid parms? #320

Open Ldisi opened 4 years ago

Ldisi commented 4 years ago

Hi~I have a question. In the helib_example.cpp, we set p=3999,m=32109. But when I want to choose anthoer p(for example 1021), how to choose m? THX!^-^