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

No proper documentation/example for PSI #486

Open s-naveen opened 1 year ago

s-naveen commented 1 year ago

I am trying to get matching score for query in an encrypted db but I can't seem to make it work. I keep getting

libc++abi: terminating with uncaught exception of type helib::LogicError: Index for column does not exist. Given index 1. Expected index in range [0, 1).

I have no idea what i'm doing wrong it maybe in in db data format or query format or parameters. If possible please provide a proper working example to make it easier to troubleshoot.