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 760 forks source link

One question about“/example/BGV_country_db_lookup” #448

Open Hang-shao opened 3 years ago

Hang-shao commented 3 years ago

This is the unencrypted value subtraction, you can use FLT: image

This is the encrypted value subtraction, can you still use FLT? The input value is ciphertext, not necessarily {1, 0}: image