ibarrond / Pyfhel

PYthon For Homomorphic Encryption Libraries, perform encrypted computations such as sum, mult, scalar product or matrix multiplication in Python, with NumPy compatibility. Uses SEAL/PALISADE as backends, implemented using Cython.
https://pyfhel.readthedocs.io/
Apache License 2.0
489 stars 78 forks source link

Does encryptBatch support fixed point number? #95

Closed ziyao002 closed 3 years ago

ziyao002 commented 3 years ago

Hi noticed that encodeBatch and encryptBatch can be used for integers, I was wondering if these two functions support fixed-point numbers (fractional numbers)? Besides, which FHE scheme used as the building block of Pyfhel? BFV or CKKS? Thank you so much in advance!

ibarrond commented 3 years ago

I'm afraid they don't. The FHE scheme implemented so far is a BFV variant (hence the lack of fixed-point support). CKKS support was envisioned, but I never found the time to include it.

ziyao002 commented 3 years ago

I'm afraid they don't. The FHE scheme implemented so far is a BFV variant (hence the lack of fixed-point support). CKKS support was envisioned, but I never found the time to include it.

Understand, thank you!

ibarrond commented 3 years ago

CKKS support is coming! stay tuned, as in less than 1 month we should have it here.